Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The program needs to be design as the direction stated. The below program needs to be error free need as soon as possible Write a

The program needs to be design as the direction stated. The below program needs to be error free need as soon as possible

Write a program that allows a game developer to track sales of their game. Assume the developer has 5 different game titles on the market. The program should use 3 parallel 5-element arrays:

An array to hold the names of the game titles - You may provide any names that you see fit

An array to hold the total number of games sold in the past month for each title

An array to hold the revenue per game based on the sales in the past month

The game title names should be stored using an initialization list at the time the name array is created. The program should prompt the user to enter the number of games sold for each title.

Once the games sold data has been entered, the program should internally maintain the price for each game and use the number of games sold to compute the revenue for that game. The program should produce a report that displays sales and revenue for each game title along with the total sales for the month and total revenue.

Finally, the program should display the names of the highest-selling and lowest-selling game titles based on revenue. The report should be outputted on the screen and to a data file.

Note: modularity reminder. You must use functions. You should aim to have functions for Input, Processing, and Output. Each function should have one task to complete.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David M. Kroenke, David Auer

11th Edition

B003Y7CIBU, 978-0132302678

More Books

Students also viewed these Databases questions

Question

What does stickiest refer to in regard to social media

Answered: 1 week ago

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago