Skip to content

Prints the numbers from 1 to 100, but for multiples of 3, prints "is divisible by 3" along with the number, and for multiples of 5, prints them with "can be divided by 5". For numbers which are multiples of both 3 and 5, it prints "is divisible by 3 and 5".

Notifications You must be signed in to change notification settings

scaulfield7/fizz_buzz_for_loop_and_condition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

fizz_buzz_for_loop_and_condition

Prints the numbers from 1 to 100, but for multiples of 3, prints "is divisible by 3" along with the number, and for multiples of 5, prints them with "can be divided by 5". For numbers which are multiples of both 3 and 5, it prints "is divisible by 3 and 5".

Buy me a coffee at ko-fi.com

About

Prints the numbers from 1 to 100, but for multiples of 3, prints "is divisible by 3" along with the number, and for multiples of 5, prints them with "can be divided by 5". For numbers which are multiples of both 3 and 5, it prints "is divisible by 3 and 5".

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published