Question: Given file ( s ) in C + + Assignment 1 . cpp ( Driver program, partially given. need to be mofified ) LinkedList.h (
Given files in
Assignmentcpp 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
price
vin represents the Vehincale Indentification Number, it's unique for each car, ie two cars can have same model and make, but they must have different vin numbers.
class LinkedList
private:
struct Car head;Given files in
Assignmentcpp 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
price
vin represents the Vehincale Indentification Number, it's unique for each car, ie two cars can have same model and make, but they must have different vin numbers.
class LinkedList
private:
struct Car head;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
