Display the list of all car record

Assignment Help C/C++ Programming
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.

Reference no: EM13326538

Questions Cloud

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)

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Assign passed value to function to return value

Assign passed value to this member and another function to return value. Your main should read the integer from an input data file, and write the output to the output data file.

  Public transport fare ticketing system

Implement and test a public transport fare ticketing system.

  Returns a count of the steps through the sort

Please write a c++ implimentation that returns a count of the steps through the sort. (do not worry about updating count, I will rewrite that segemnt. I need help with writing the shell sort.

  Write an accessor function to get the angle

Write a friend function to compare the area of a rectangle with sides 12 and 8 to the area of a parallelogram with sides 14 and 18 and an acute angle of 40 degrees. Test it in main, and check the answer by hand.

  Wrie a program that will generate a list of 10000 numbers

Wrie a program that will generate a list of 10000 numbers stored in an array with values 1 and 500.Print out any original 200 numbers to show the results(not one number per line either).Now sort the number using bubble sort

  Individual genes are substrings of a genome

Individual genes are substrings of a genome delineated by 3-element start and stop codons. Genes begin with the start codon ATG and end with one of the following 3 stop codons: TAG, TAA or TGA. Note that start codons can appear anywhere in the string..

  Create a file, shared.txt

When your program starts, it shall do the following:1. Create a file, SHARED.txt, in the current directory (cwd). 2. Write it's pid (Process ID) followed by a Carriage Return and Newline in the file.

  Write a menu-driven c program

Write a menu-driven C program with appropriate functions that allows the user to fill an array of 50 integers with random numbers on the range 1...999, inclusive, sort it, and then find search it to determine if a given random number was generated..

  Describe the process replace a do...while loop with an equiv

Describe the process you would use to replace a do...while loop with an equivalent while loop. What problem occurs when you try to replace a while loop with an equivalent do...while loop? Suppose you have been told that you must remove a while loop a..

  A run is a sequence of adjacent repeated val

A   run   is   a   sequence   of   adjacent   repeated   values.   Using   an   array,   write   a   program   that   generates   a   sequence   of

  Create a bar chart showing the average monthly mean temperat

Write a ++ program to create a bar chart showing the average monthly mean temperature for College Station from 2004 to 2013. The point of the exercise is to compute the sie and location of the rectangles rather than explicitely hardcode that informat..

  Implement a class to represent a matrix

Implement a class to represent a matrix. While doing this exercise, you are allowed only to use C++ primitive types and arrays. You may not use STL in your Matrix definition. You must use dynamic memory.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd