Question: Do it in C++ please 1. (25 pts) Write a program that does the following steps: a. stores the following 20 autos in a map

Do it in C++ please

Do it in C++ please 1. (25 pts) Write a program that

1. (25 pts) Write a program that does the following steps: a. stores the following 20 autos in a map container Auto. - Cadillac, BMW, Mercedes, Toyota, Honda, Hyundai, Yugo, Ford, GM, Bentley, Ferrari, Alpha-Romeo, Pugeot, Jaguar, Oldsmobile, Rolls-Royce, Saab, Mercury, Nissan, Datsun - the associated string is the car's name and corresponding int value represents the length of each car b. Print the entire map displaying car name & word-length c. Display all cars having a word-length >5 d. Calculate the numerical sum of each car's name and store it in a vector Total e. Print the entire vector Total f. Calculate the mean(Mean) value of vector Total g. Display all cars having numerical values greater than Mean

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!