SOLVED: FizzBuzz program part 3

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: zip solution files instantly, after Payment

Securely Powered by: Secure Checkout

Description

5/5 - (1 vote)

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.

  • FizzBuzzP3.zip