tringuyen1086 / FizzBuzz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FizzBuzz

  • A simple solution to FizzBuzz puzzle using Java

Requirement

  • Print the numbers from 1 to 100 (optional: enter the desired number) , with the following exceptions:

  • If the number is a multiple of 3, print FIZZ instead of the number.

  • If the number is a multiple of 5, print BUZZ instead of the number.

  • If the number is a multiple of 3 and 5, print FIZZBUZZ instead of the number.

Contributing

About


Languages

Language:Java 100.0%