dimanche 10 octobre 2021

If the number has 2 instances of that number(i.e., 33 or 55) and is divisible by that number, then the word is said three times

It would not allow me to paste my code here so I'm not sure how to go about doing this part

For example: 1, 2, Fizz Fizz (3), 4, Buzz Buzz (5), Fizz (6), Woof Woof (7), 8, Fizz (9), Buzz (10), 11, Fizz (12), Fizz (13), Woof (14), Fizz Buzz Buzz (15), 16, Woof (17), Fizz (18), 19, Buzz (20), Fizz Woof (21), 22, Fizz (23), Fizz (24), Buzz Buzz (25), 26, Fizz Woof (27), Woof (28), 29, Fizz Fizz Buzz (30), Fizz (31), Fizz (32), Fizz Fizz Fizz (33)

Aucun commentaire:

Enregistrer un commentaire