Question: Write a function fizzbuzz ( start , finish ) that prints numbers from start to finish. Replace multiples of 3 with fizz, multiples of
Write a function fizzbuzz start finish that prints numbers from start to finish. Replace multiples
of with fizz, multiples of with "buzz", and multiples of both with fizzbuzz.
Once you have a working algorithm, edit it to also replace numbers that contain or eg with
"fizz", "buzz", or "fizzbuzz", as appropriate.
fizzbuzz
fizz
buzz
fizz
fizz
buzz
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
