Starting from:

$20

part 3 Modify the FizzBuzz Solution

part 3

Modify the FizzBuzz program further by designinga class CFizzbuzz with two private data members that store a name up to 14 characters long and an integer item number. Define a getFizzbuzz() function member of the CFizzbuzz class that will set values for the data members by reading input from the keyboard and a putFizzbuzz() function member that outputs the values of the data members. Implement the getRecord() function so that a calling program can detect when a zero item number is entered. Test your CFizzbuzz class with a main() function that reads and outputs CFizzbuzz objects until a zero item number is entered.

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

More products