Individual: FizzBuzz Program, Part 3
Instructions:
Modify the FizzBuzz program to properly use classes. A
CFizzBuzzEntry class should hold the user entry information, along with
the value in that cell and the resulting FizzBuzz enum value. A
CFizzBuzzResults class should keep track of the entries using an array
type from the STL and performing the output information after the
program’s execution. All functions in the submitted program should be
member functions of these or other appropriate classes. A
CArrayOfValues class will be a global accessible by the entire program
and will have its own function to build the array, which is called at the
start of main() to initialize the array.
Use proper get and set functions for all values in the class, do not
access them directly in general. For example, have a SetRow(int row)
and GetCol(int col) function to use to set and get the column for a
specific CFizzBuzzEntry value.
Include a proper header file.
Use proper coding conventions and proper comments throughout your
program.
Compress all your Microsoft® Visual Studio® source code files in the
console application folder into a ZIP file. The submitted folder must
properly launch by clicking the project file at the top level and link to all
the needed files. Visual Studio® must be used for this assignment.
Submit your assignment using the Assignment Files tab.
Create another funciton to output the FizzBuzz value. This should have
the format of void OutputFizzBuzzValue( fizzBuzzValueEnum fbVal ).
Use a switch statement in this function to determine which text to output
using cout.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more