modify-code-to-make-the-class-work

Modify the FizzBuzz program from week 2 (this one does not need the arrays and functions from week 3) further to use a class you create called CFizzBuzz. The class should contain a private data member for the number input. The class should have a public member function bool GetInput() that will get what the user inputs and store it in the private data member. If the user inputs a number, it will return true, if the user types “end”, it will return false. Finally, the class should have a public member function void Output() that will provide output similar to before, outputting the number and the various combinations of Fizzes and Buzzes as specified in previous weeks.

The main() will basically loop over and over. Inside the loop, it will create a CFizzBuzz object, call its GetInput() method, break the loop if it returns false, or call its Output() method if it returns true.

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.