Design a program to print out numbers from 1 to 20


Design a program to print out numbers from 1 to 20 (please show Java code of program)

Rules

1. If the number is divisiable by 3 print out "fizz"

2. If the number is divisible by 5 print out "buzz"

3. IF the number is divisible by both 3 & 5 print out "fizzbuzz"

4. Else just print out the number

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Design a program to print out numbers from 1 to 20
Reference No:- TGS094211

Expected delivery within 24 Hours