Description

You are going to write a class, complete with private attributes and public methods and also a main routine that will create object of this class and use them. The goal of this program (which we will continue to build on in future assignments) is to create a record for video games played by the user. Define a class that will store information about a video game, including its name, current high score, number of times played, and any other information you'd like objects of this class to know. Each of these elements will be an attribute. Your class should also have get and set methods for each of the attributes you define, including the 3 specified. Now write a main routine that will create 2 of these video game objects. Ask the user for the relevant information to fill in the objects, i.e. game name, number of times played, and the current high score, etc. Then report out the values for each game using the following format:

Game Name Played # times (HIGH SCORE #) // of course your objects will supply the Game Name and # values.

Your main routine should have a void subroutine responsible for producing the final output values for both game objects.

Your code should also have a separate function or functions to prompt for and acquire the values needed for each attribute, returning the value that will be used in the corresponding object's set method. PLEASE NOTE THIS IS C++

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.