A for loop that prints the numbers 1 through 100. If its divisible by 3 than print 'Fizz' instead of the number. If its divisible by 5 than print 'Buzz' instead. Lastly, if its divisible by both 3 and 5 than print 'FizzBuzz'.
-
Notifications
You must be signed in to change notification settings - Fork 0
A for loop that prints the numbers 1 through 100. If its divisible by 3 than print 'Fizz' instead of the number. If its divisible by 5 than print 'Buzz' instead. Lastly, if its divisible by both 3 and 5 than print 'FizzBuzz'.
Sergio-opensource/FizzBuzz
About
A for loop that prints the numbers 1 through 100. If its divisible by 3 than print 'Fizz' instead of the number. If its divisible by 5 than print 'Buzz' instead. Lastly, if its divisible by both 3 and 5 than print 'FizzBuzz'.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published