Question: 1 . Write a C + + program that does the following: a . Create a C + + file with the name problem 1
Write a C program that does the following:
a Create a C file with the name problemcpp
b Prompt the user to enter integers and store each integer into a separate element of a element integer
array.
c Compute a the average of the integers.
d Print the average a
e Compute b the average of those array elements with value greater than or equal to a
f Print the average b
Sample run of the program:
Enter ten numbers:
Average of the integers in array:
Average of the integers greater than or equal to the overall average of is:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
