Question: please write the program in c++. it says download and complete lab10_2.cpp. so i have added picture of it. So please follow the pattern and

 please write the program in c++. it says download and complete

lab10_2.cpp. so i have added picture of it. So please follow the

pattern and commenting given on lab10_2.cpp to finish the exercise. the instructions

please write the program in c++. it says download and complete lab10_2.cpp. so i have added picture of it. So please follow the pattern and commenting given on lab10_2.cpp to finish the exercise. the instructions and testing hints are given on the first picture.

again, please complete the lab10_2.cpp. i know we can approach to a problem in many ways, but the exercise is here to finish it in the way that is given on lab10_2.cpp.

Thank you

chase cu xNew Tabx 10.pdf n Facebook Exercise 2: Utility String and Vector Functions Download lab10_2.cpp and submit the completed.cpp file New Tab Admission counselo O search 2004 Acura TL Gre.. D vendor Info Write a program which implements several useful functions for strings and vectors. We have implemented main for you, which you should use to test these functions. The function requirements are listed in the starter file. You will complete the following functions: 1. void printIntVector (vector numbers) 2. double mean (vector & numbers, int queryvalue) 4. int countLetters (string word, char letter) 5. string reversestring (string word) Testing You should test your program after completing each function. Your output should match the test output for each test from main. The beginning of the correct output is shown below. bash-4.1s gtt lab10 2.cpp /a.out Test l: Printing the vector Yours 5 12 6 30 19 correct: 5 12 6 30 19 Test 2: Mean Yours:14.4 Correct: 14.4 Hints .We recommend that you use a printVector function in future labs and projects! Use push back to add a character to the back of a string Make sure your loops iterate over the full size of the input string or vector You can iterate from size-1 to o to iterate a string/vector in reverse

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!