Question: Starting out with C++ from control structures through objects 8th edition (Chapter 7 challenge 5) Monkey Business A local zoo wants to keep track of

Starting out with C++ from control structures through objects 8th edition (Chapter 7 challenge 5)

Monkey Business

A local zoo wants to keep track of how many pounds of food in each of its three monkeys eats each day during a typical week. Write a program that stores this information in a two-dimensional 3X5 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 following information: Average amount of food eaten per day by the whole family of monkeys.

The least amount of food eaten during the week by nay 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!