Kindly, write full C++ code (Don't Copy)
Write a program that creates a singly link list of used
automobiles containing nodes that describe the model name (string),
price(int) and owner’s name. The program should create a list
containing 12 nodes created by the user. There are only three
types of models (BMW, Cadillac, Toyota) and the prices range from
$2500 – $12,500. The program should allow the user to
provide
Print a printout of all cars contained in the list
(model, price, owner)
Provide a histogram(global array) of all cars in the
list portioned into $500 buckets
Calculate the average price of the cars contained in the
list
Provide the details for all cars more expensive than the
average price
Remove all nodes having a price less than 25% of average
price
Print a printout of all cars contained in the updated
list (model, price, owner)
Kindly, write full C++ code (Don't Copy) Write a program that creates a singly link list of used automobiles containing
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am