[SOLVED] SOLVED: FizzBuzz program part 2

25.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (5 votes)

part 2

Modify the FizzBuzz program developed in Week Two to record the user input using an array. The function must have the prototype int FizzBuzz(int, int), where the function takes the row number input from user as the first parameter and the column input amount by the user as secondparameter. Create the function to output the number of guesses user takes until they get a FizzBuzz output.

Replace this code in the body of your program with a switch statement. When the user successfully enters a number that gets desired FizzBuzz ouput, prompt to ask if the user wants to play again.

Include the proper header and make sure you properly comment your program. Also, make sure you use proper coding conventions.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.