Design a C++ application using Linked List to store car information for a Used Car Dealer. Your application must be able to do the following
1. Add new car information to the store. The car information must contains the following
•Model (e,g. Camry, Accord, Focus)
•Manufacturer (e.g. Toyota, Honda, Volkswagen)
•Year(e.g 1997, 2000)
•Registration No / Car Plate No (e.g. ABC231)
•Selling Price (e.g. 20000, 15000)
2. Delete car information from the store
1
Expert's answer
2013-05-09T08:19:10-0400
//Design a C++ application using Linked List to store car information for a Used Car Dealer. //Your application must be able to do the following // //1. Add new car information to the store. The car information must contains //the following •Model (e,g. Camry, Accord, Focus) •Manufacturer //(e.g. Toyota, Honda, Volkswagen) •Year(e.g 1997, 2000) •Registration No / // Car Plate No (e.g. ABC231) •Selling Price (e.g. 20000, 15000) // //2. Delete car information from the store
#include <iostream> #include <string> #include <list> using namespace std;
class car{ public: string model; string manufacturer; int year; int no; string carNo; double price; public: car(){} //car(car &c){ *this& = c;}
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment