# Write a program (C++) that shows Game sales. The program should use a structure to store...

###### Question:

Write a program (C++) that shows Game sales. The program should use a structure to store the following data about the Game sale:

Game company

Type of Game (Action, Adventure, Sports etc.)

Year of Sale

Sale Price

The program should use an array of at least 3 structures (3 variables of the same structure). It should let the user enter data into the array, change the contents of any element and display the data stored in the array. The program should have a menu driven interface.

Input Validation: When the data for a new game sale is entered, be sure the user enters data for all the fields. No negative amounts should be entered for a “Sale Price” of the Game.

An example:

You will use 1 structure only and then manipulate that for working with the information.

The program should use an array of at least 3 structures (3 variables of the same structure).

An example of the structure:
struct Game
{
string name;
string type;
int year;
double price;
};

#### Similar Solved Questions

##### Acrylic bone cement is sometimes used in hip and knee replacements to fix an artificial joint...
Acrylic bone cement is sometimes used in hip and knee replacements to fix an artificial joint in place. The force required to break an acrylic bone cement bond was measured for six specimens under specified conditions, and the resulting mean and standard deviation were 306.09 newtons and 41.92 newto...
##### A city mayor you know is interested in recruiting Amazon to build in their city but...
A city mayor you know is interested in recruiting Amazon to build in their city but doesn't know what a company considers before choosing where to build a processing plant. She has hired you to help her and her city council understand what decision factors Amazon might consider before making its...
##### Consider the following partially completed income statements for merchandising companies and compute the missing amounts: (Click...
Consider the following partially completed income statements for merchandising companies and compute the missing amounts: (Click the icon to view the Income Statements.) Data Table Fit Apparel Laura's Bakery $99,000 Fit Apparel Laura's Bakery 99,000 32,000$ (d) 48,000 Net Sales Revenue Cos...
##### The p-value for a hypothesis test is shown Use the P-value to decide whether to re...
The p-value for a hypothesis test is shown Use the P-value to decide whether to re ed HO when the level of significance is a)a:0。1 b 0 05 and c r:0 10. P 0.0612 (a) Do you reject or fail to reject Ho at the 0.01 level of significance? O A. Fal to reject Ho because the P-value, o 0612, is less...
##### Find the 8 errors in the following paragrah and put the correct information. a stomach preparation...
find the 8 errors in the following paragrah and put the correct information. a stomach preparation is required for several procedures that visualize the lower bowel. This preparation is important for effective test results. An incomplete bowel preparation mag prevent the test from being done or cau...
##### Consider a 82 m x 43 m, nine-storey Supermarket building. Is it a 'high building according...
Consider a 82 m x 43 m, nine-storey Supermarket building. Is it a 'high building according to OBC Subsection 3.2.6? Assume a typical storey height of 3.2 m, that average grade is 763 mm below the ground floor level, and its exit stair risers are 187 mm. Use the minimum Code permitted exit stair ...
##### How do you find the limit of 1/(x^3 +4) as x approaches oo?
How do you find the limit of 1/(x^3 +4) as x approaches oo?...
##### Hi! Please help me on this question 41. Thank you so much! (by giving the p.m.f....
Hi! Please help me on this question 41. Thank you so much! (by giving the p.m.f. or p.d.f.) whose the cumulative distribution function F(t) satisfies F(n) = 1 - 1 for each positive integer n. Exercise 3.41. We produce a random real number X through the following two- stage experiment. First roll a...
##### Lagrange Polynomials You just watched some poor kid let go of her balloon in a 8-m...
Lagrange Polynomials You just watched some poor kid let go of her balloon in a 8-m high mall food court. The four data points at right represent the height of a balloon (H, in meters) as a function of time (t, in seconds). (a) Create the 3rd-order Lagrange polynomial that exactly passes through all ...
##### 3. A 55 kg student is standing on a rigid, 3 meter, 10 kg, plank that...
3. A 55 kg student is standing on a rigid, 3 meter, 10 kg, plank that is resting on two scales, one on either end of the plank. The student is standing 0.9 meters from the left scale. a) (10 pts) What does the right scale read (in kg)? 855kg lokg Tons Slot x 1,5 m 3n= right = (2.1 XSS 1 - (3.0 xloxy...
##### How do you solve 2cos(x/3)+sqrt2=0?
How do you solve 2cos(x/3)+sqrt2=0?...