Programming Homework Help

SDSU Develop a Program that Shows the Sales of Bikes for Bike Company C++ Program

Get Your Custom Essay Written From Scratch
We have worked on a similar problem. If you need help click order now button and submit your assignment instructions.
Just from $13/Page
Order Now

Develop a program that shows the sales of bikes for a bike company. The program should use a structure to store the following data about the bike sale:

Bike Brand (Company)

Type of Bike (mountain, road, kid’s etc.)

Sale Price

Year of Sale

The program should use an array of at least 4 structures (4 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 bike 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 Bike.

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 4 structures (4 variables of the same structure).

An example of the structure:
struct Bike
{
string name;
string type;

double price;

int year;

};