Design and write a C program that manages Car sales database1

profileSuperClass
 (Not rated)
 (Not rated)
Chat

Design and write a C program that manages Car sales database.

For each car, the program should collect and track of the following information:

 

Car Company Name

Car Model

Car Color

Unit Cost

Selling Price

Total Value of car

In Stock

Number of Car Sold

Profit

 

The program should have the following features:

 

Information will be stored in a file. This file provides the “permanent” storage for the employee database.

 

When the program starts it will first load data from the file.

Note: when the program starts for the first time, the file will not exist and there will be no data to load.

 

The program will display the menu. It is preferred that each selection calls a different function. Use a switch to make the selection.

 

Menu choices should include:

 

1-Display the list of all car record

2-Add a new record

3-Modify an existing record

4-Sales and Profits - show car model, the number of car in stock, car sold, unit cost, selling price and the profit for each car and the total profit for all cars.

5-Sort the list of car in alphabetic order, based on company name

6-Quit - Data is to be saved to a file which will then be used by the program on subsequent runs.

    • 10 years ago
    Design and write a C program that manages Car sales database A+ tutorial use as guide
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      design_and_write_a_c_program_that_manages_car_sales_database.txt