Write a C++ program that is used by video game shop to update the information of some video games, as follows: Unit price ($) 39.99 Name Number of users Total selling Game status (Million) 33.1 To Be...


code in c++


Write a C++ program that is used by video game shop to update the information of some<br>video games, as follows:<br>Unit price<br>($)<br>39.99<br>Name<br>Number of users<br>Total selling<br>Game status<br>(Million)<br>33.1<br>To Be Calculated To be calculated<br>To Be Calculated To be calculated<br>GTA<br>CallofDuty<br>40.3<br>59.99<br>Minecraft<br>23.2<br>26.95<br>To Be Calculated<br>To be calculated<br>To Be Calculated To be calculated<br>To Be Calculated | To be calculated<br>TitanFall<br>10.7<br>14.49<br>Battlefield<br>27.8<br>49.99<br>You need to define one 1D array of type string Game [5] to save the games names. Also, you<br>need to define 2D array of double GameInfo[5] [4] that contains the games info:<br>GameInfo [] [0] represents the number of users for each game.<br>GameInfo [][1] represents the unit price.<br>GameInfo [] [2] represents the total selling for each game.<br>Game Info [] [3] represents the game status (On demand or not).<br>w w ww<br>Write a function read that reads the games information (game name, number of<br>users and unit price) from the user input and stores them in the arrays. In the main<br>function, call the function to read the games info.<br>а.<br>Function prototype:<br>void read (double GameInfo [] [4], string Game[],int size)<br>

Extracted text: Write a C++ program that is used by video game shop to update the information of some video games, as follows: Unit price ($) 39.99 Name Number of users Total selling Game status (Million) 33.1 To Be Calculated To be calculated To Be Calculated To be calculated GTA CallofDuty 40.3 59.99 Minecraft 23.2 26.95 To Be Calculated To be calculated To Be Calculated To be calculated To Be Calculated | To be calculated TitanFall 10.7 14.49 Battlefield 27.8 49.99 You need to define one 1D array of type string Game [5] to save the games names. Also, you need to define 2D array of double GameInfo[5] [4] that contains the games info: GameInfo [] [0] represents the number of users for each game. GameInfo [][1] represents the unit price. GameInfo [] [2] represents the total selling for each game. Game Info [] [3] represents the game status (On demand or not). w w ww Write a function read that reads the games information (game name, number of users and unit price) from the user input and stores them in the arrays. In the main function, call the function to read the games info. а. Function prototype: void read (double GameInfo [] [4], string Game[],int size)

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here