Question: Write a program that reads up to 10 donation values into an array of double. (Or, if you prefer, use an array template object.) The
Write a program that reads up to 10 donation values into an array of double. (Or, if you prefer, use an array template object.) The program should terminate input on non-numeric input. It should report the average of the numbers and also report how many numbers in the array are larger than the average.
Step by Step Solution
3.28 Rating (154 Votes )
There are 3 Steps involved in it
include include using namespace std int main vector donations double total 0 for int i 0 i ... View full answer
Get step-by-step solutions from verified subject matter experts
