Question: Given file ( s ) in C + + Assignment 1 . cpp ( Driver program, partially given. need to be mofified ) LinkedList.h (

Given file(s) in C++
Assignment1.cpp (Driver program, partially given. need to be mofified)
LinkedList.h (Header file. More code need to be added)
Assignment Description
Write a C++ program that creates a linked list of Car. Car is a structure defined as below.
struct Car
{
string model, make;
int vin;
double price;
struct Car* next;
};
An example of a Car object is as follows:
model - "Camry"
make - "Toyota"
vin -1234
price -25945.00
vin represents the Vehincale Indentification Number, it's unique for each car, i.e. two cars can have same model and make, but they must have different vin numbers.
class LinkedList
{
private:
struct Car* head;Given file(s) in C++
Assignment1.cpp (Driver program, partially given. need to be mofified)
LinkedList.h (Header file. More code need to be added)
Assignment Description
Write a C++ program that creates a linked list of Car. Car is a structure defined as below.
struct Car
{
string model, make;
int vin;
double price;
struct Car* next;
};
An example of a Car object is as follows:
model - "Camry"
make - "Toyota"
vin -1234
price -25945.00
vin represents the Vehincale Indentification Number, it's unique for each car, i.e. two cars can have same model and make, but they must have different vin numbers.
class LinkedList
{
private:
struct Car* head;
 Given file(s) in C++ Assignment1.cpp (Driver program, partially given. need to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!