Question: Need help with this C++ question. Must produce output below. Sample output Enter the pounds eaten by monkey number 1 on day 1: 1 Enter

Need help with this C++ question. Must produce output below.

Need help with this C++ question. Must produce output below. Sample output

Sample output

Enter the pounds eaten by monkey number 1 on day 1: 1 Enter the pounds eaten by monkey number 1 on day 2: 2 Enter the pounds eaten by monkey number 1 on day 3: 3 Enter the pounds eaten by monkey number 1 on day 4: 4 Enter the pounds eaten by monkey number 1 on day 5: 5 Enter the pounds eaten by monkey number 2 on day 1: 2 Enter the pounds eaten by monkey number 2 on day 2: 4 Enter the pounds eaten by monkey number 2 on day 3: 6 Enter the pounds eaten by monkey number 2 on day 4: 8 Enter the pounds eaten by monkey number 2 on day 5: 10 Enter the pounds eaten by monkey number 3 on day 1: 1 Enter the pounds eaten by monkey number 3 on day 2: 3 Enter the pounds eaten by monkey number 3 on day 3: 5 Enter the pounds eaten by monkey number 3 on day 4: 7 Enter the pounds eaten by monkey number 3 on day 5: 9 The average amount eaten on day 1 is 1.33333 pounds. The average amount eaten on day 2 is 3 pounds. The average amount eaten on day 3 is 4.66667 pounds. The average amount eaten on day 4 is 6.33333 pounds. The average amount eaten on day 5 is 8 pounds. Monkey number 1 ate the least amount of food, 1 pounds, on day 1 Monkey number 2 ate the most amount of food, 10 pounds, on day 5 

5. Monkey Business A local zoo wants to keep track of how many pounds of food each of its three monkeys eats each day during a typical week. Write a program that stores this information in a two-dimensional 3 5 array, where each row represents a different monkey and each column represents a different day of the week. The program should first have the user input the data for each monkey. Then it should create a report that includes the fol lowing information: Average amount of food eaten per day by the whole family of monkeys The least amount of food eaten during the week by any one monkey. The greatest amount of food eaten during the week by any one monkey. Input Validation: Do not accept negative numbers for pounds of food eaten

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!