Answer to Question #20052 in C++ for Jennifer Chau

Question #20052
Write a program that reads 20 numbers(ints or floats- your choice) from the keyboard and stores them in a 2 dimensional
array of size 4 rows X 5 columns. Your program must accomplish the following :
a. Calculate the average(float) of each row and displays the output exactly as given below. (Hint: You may need one 2-D
array of size 4 X 5 and one 1-D array of size 4(for the averages ) OR you may need one 2-D array of size 4 X 6 where the
6th column is used to store the averages).
b. Calculate the average of all these average values (e.g .average of 70.8, 75.4 77.6 and 84.8 = 77.15)
c. Find and print the largest of all the averages (e.g. largest average value for the given data is 84.8 for Summer term).
1
Expert's answer
2012-12-04T05:47:05-0500
Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS