Write a C++ program that is used by video game shop to update the information of some video games, as follows: Total selling Unit price ($) 39.99 Name Number of users Game status (Million) 33.1 GTA 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 CallofDuty 40.3 59.99 To Be Calculated Minecraft 23.2 26.95 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. GameInfo [] [3] represents the game status (On demand or not). 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) ww w
Write a C++ program that is used by video game shop to update the information of some video games, as follows: Total selling Unit price ($) 39.99 Name Number of users Game status (Million) 33.1 GTA 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 CallofDuty 40.3 59.99 To Be Calculated Minecraft 23.2 26.95 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. GameInfo [] [3] represents the game status (On demand or not). 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) ww w
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter12: Adding Functionality To Your Classes
Section12.2: Providing Class Conversion Capabilities
Problem 2E
Related questions
Question
code in c++
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 2 images
Knowledge Booster
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.Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr