video games, as follows: Name GTA Callof Duty Minecraft TitanFall Battlefield ● Number of users (Million) 33.1 ● 40.3 23.2 10.7 27.8 Unit price 39.99 59.99 26.95 14.49 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 Game Info Game Info Total selling To Be Calculated To Be Calculated To Be Calculated To Be Calculated To Be Calculated Game Info [] [0] represents the number of users for each game. [] [1] represents the unit price. [] [2] represents the total selling for each game. [] [3] represents the game status (On demand or not). Game status To be calculated To be calculated To be calculated To be calculated To be calculated a. 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)

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

.1_3

 

Write a C++ program that is used by video game shop to update the information of some
video games, as follows:
Name
GTA
Callof Duty
Minecraft
TitanFall
Battlefield
●
Number of users
(Million)
33.1
a.
40.3
23.2
10.7
27.8
Unit price
($)
39.99
59.99
26.95
14.49
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:
mmmmmmmmmmmmmmmmm
Total selling
To Be Calculated
To Be Calculated
To be calculated
To be calculated
To Be Calculated
To be calculated
To Be Calculated
To be calculated
To Be Calculated To be calculated
Game Info [] [0] represents the number of users for each game.
Game Info [] [1] represents the unit price.
Game Info [] [2] represents the total selling for each game.
Game Info [] [3] represents the game status (On demand or not).
Game status
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)
Transcribed Image Text:Write a C++ program that is used by video game shop to update the information of some video games, as follows: Name GTA Callof Duty Minecraft TitanFall Battlefield ● Number of users (Million) 33.1 a. 40.3 23.2 10.7 27.8 Unit price ($) 39.99 59.99 26.95 14.49 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: mmmmmmmmmmmmmmmmm Total selling To Be Calculated To Be Calculated To be calculated To be calculated To Be Calculated To be calculated To Be Calculated To be calculated To Be Calculated To be calculated Game Info [] [0] represents the number of users for each game. Game Info [] [1] represents the unit price. Game Info [] [2] represents the total selling for each game. Game Info [] [3] represents the game status (On demand or not). Game status 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)
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Quicksort
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education