Reference no: EM13326538
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.
What is the frequency of the whistle
: A child is walking toward a wall at a speed of 1.00m/s in a direction at right angles to the wall. what is the frequency of the whistle
|
What is the resultant of these two forces
: Two forces are applied to a car in an effort to move it, as shown in the following figure, where F1 = 423 N and F2 = 355 N. What is the resultant of these two forces
|
What does the scale read during the acceleration
: A woman stands on a scale in a moving elevator. Her mass is 55.0 kg, and the combined mass of the elevator and scale is an additional 755 kg. What does the scale read (in N) during the acceleration
|
Find the magnitude of the charge on the plates
: A capacitor consists of a set of two parallel plates of area A separated by a distance d. find the magnitude of the charge on the plates
|
Display the list of all car record
: 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.
|
What is the net force exerted by these two charges
: Two point charges are placed on the y axis as follows: charge q1= -1.50 nC at y= -.600m, What is the net force (magnitude and DIRECTION) exerted by these two charges on a third charge
|
Propose solution capable of running on specified hardware
: Propose a solution capable of running on the specified hardware platform. Your analysis should include the advantages and disadvantages of Ubuntu vs. Windows Server.
|
Generate a key for some email addresses
: Generate a public and private key pair for yourself. If you have any problem in installing it properly, please discuss this in the project folder.
|
Determine the escape velocity from the sun for an object
: Determine the escape velocity from the Sun for an object at the Sun's surface (r = 7.5 × 105 km, M = 2.0 × 1030 kg)
|