Question: Individual Assignment 2 (12.5 Points) The project will allow you to create a system for tracking the games and the scores in terms of graphics,

Individual Assignment 2 (12.5 Points)

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 highes

t score in each category and the

highest overall score.

The system will allow you to track 10 games in the followin

g arrays:

1)

A string array for the game titles

2)

An int array for graphics scores from 1 to 5

3)

An int array for replay value from 1 to 5

The main function will allow the user to call the followin

g functions:

1.

Enter Game Titles

2.

Enter Graphic Scores

3.

Enter Replay Scores

4.

Find the highest graphic score

5.

Find the highest replay value score

6.

Find the highest combined score.

7.

Exit

1)

Function1 : enterGameInfo()

This function will ask the user for the 10 game titles and

store them in an array which will be

accessible throughout the program.

Enter game title:

2)

Function: enterGraphicInfo()

This function will ask the user for the 10 graphic scores

and store them in an array while

re

ferring to the game title.

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

3)

Function: enterReplayInfo()

This function will ask the user for the 10 replay value sco

res and store them in an array while

referring to the game title.

Enter the replay value for the game title [Game Title

]:

4)

Function: getHighestGraphics()

A function that will get as parameters the game title array and t

he graphics score array. The

function will find the highest graphic score and will p

rint the following:

The highest rated graphics game is [Game Title] with a sco

re of [Highest Score]

If multiple games have the same graphic score, chose the last hi

ghest score in the array.

5)

Function: getHighestReplay()

A function that will get as parameters the game title array and t

he replay score array. The

function will find the highest replay score and will prin

t the following:

The highest rated replay game is [Game Title] with a sco

re of [Highest Score]

If multiple games have the same graphic score, chose the last hi

ghest 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] wit

h a score of [Highest Score]

Notes:

Make sure you can enter games with spaces

Make sure you create the functions specified

Make sure you do NOT use global arrays

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 Make sure you do NOT use global arrays Grading Criteria: 1. Enter Game Titles (2pts) 2. Enter Graphic Scores (2pts) 3. Enter Replay Scores (2pts) 4. Find the highest graphic score (2pts) 5. Find the highest replay value score (2pts) 6. Find the highest combined score. (2pts) 7. Exit (.5)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!