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

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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