Question: Question 5: Write a single line answer for the following requests over vector v that contains unknown number of integer values. You are not allowed

Question 5: Write a single line answer for the following requests over vector v that contains unknown number of integer values. You are not allowed to use loops. Hint: List of STL algorithms is given at the top of the first page. (each question is 2 points) a. Find the and display first value that is not divisible by 3. b. Count the elements that are divisible by 3. c. Print out the elements that are divisible by 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
