0

Number type loop.

Help me answer this. Make a loop that produces 1-100.numbers that are divisible by 3 are presented the word "fizz" in the loop.numbers that are divisible by 5 are presented by the word "fuzz" while numbers divisible by both 5 and 3 produce the word "buzz".. Its kinda hard to answer,pls help.

16th Jul 2018, 5:50 AM
Mensch
Mensch - avatar
2 Réponses
+ 1
It's not hard. It's fizz-buzz. Show your code than maybe someone will help you.
16th Jul 2018, 6:04 AM
Lstiti
0
i figured it out....it was pretty easy,guess i was playing aroud.hehe
16th Jul 2018, 11:02 AM
Mensch
Mensch - avatar