The project will allow you to create a system for tracking the games and the scores in terms of graphics, story and replay value and will compute the highest score in each category and the highest overall score.

The system will allow you to track 5 games in the following arrays:

  • A string array for the game titles
  • An int array for graphics scores from 1 to 5
  • An int array for replay value from 1 to 5

(1 being the worst score and 5 being the best score)

The main function will allow the user to call the following functions:

  • Enter Game Titles
  • Enter Graphic Scores
  • Enter Replay Scores
  • Find the highest graphic score
  • Find the highest replay value score
  • Find the highest combined score
  • Exit

Note you can assume that the steps in the menu will be executed in order.

1) Function1 : enterGameInfo()

This function will ask the user for the 5 game titles and store them in an array which will be accessible throughout the program.

Enter game title:
< prompt >

2) Function: enterGraphicInfo()

This function will ask the user for the 5 graphic scores and store them in an array while referring to the game title.

Enter the graphic score for the game title [Game Title]:
< prompt >

3) Function: enterReplayInfo()

This function will ask the user for the 5replay value scores and store them in an array while referring to the game title.

Enter the replay value for the game title [Game Title]:
< prompt >

4) Function: getHighestGraphics()

A function that will get as parameters the game title array and the graphics score array. The function will find the highest graphic score and will print the following:

"The highest rated graphics game is [Game Title] with a score of [Highest Score]"

If multiple games have the same graphic score, chose the last highest score in the array.

5) Function: getHighestReplay()

A function that will get as parameters the game title array and the replay score array. The function will find the highest replay score and will print the following:

"The highest rated replay game is [Game Title] with a score of [Highest Score]"

If multiple games have the same graphic score, chose the last highest score in the array.

6) Function: getHighestCombined()

A function that per game will add the graphics score and the replay value score as one score and add the new combined score a new array while finding the highest combined score. The function will print the following:

"The highest rated combined score game is [Game Title] with a score of [Highest Score]"

Notes:

  • Make sure you can enter games with spaces
  • Make sure you create the functions specified
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.