(Solved):Use a while loop to write a program that given a vector of numbers computes how many numbers are greater than 10. Use Array2 to check your program. Array2 = 7, 5, 10, 3, 11, 4, 1, 12, 15, 2 View Answer…

 

Question

Use a while loop to write a program that given a vector of numbers computes how many numbers are greater than 10. Use Array2 to check your program.

Array2 = 7, 5, 10, 3, 11, 4, 1, 12, 15, 2

 

EXPERT ANSWER

Here is a C++ program that uses a while loop to compute how many numbers are greater than 10 in a given array. It also displays the total number of numbers

Scroll to top