Help with Assignment

Hello, I really need help with this assignment and don't quite know how to create the source code for it. Here's what I need to do:


Hi, I'm really new at this and would really appcreciate if someone could help me with my source code for this assignment. Here's the details:

Create a function, monkeyFood, that will load the 3x7 array (the array MUST store real numbers); you will pass the array you declare in main as an argument into the function.

Psuedo Code for function monkeyFood:
1. Create for loop to go through each row (each monkey)
a. Create another for loop (nested) to go through each day of the week
- Ask user for amount of food in pounds for a given day (DO NOT except Negative Values)
- Read in the food amount from the user

Next you will create 3 more functions aveFood, leastFood, and greatestFood that will calculate the average amount of food for a given monkey, the least amount of food given during the week, and the greatest amount of food.

Your program must first ask the user to enter the amount of food for each day for all three monkeys and then create a Report (output to the screen) which contains the average amount of food eaten per day by the whole family of monkeys (i.e. average for all three monkeys for each day of the week); The least amount of food eaten during the week by any one monkey and the greatest amoun of food eaten by any one monkey.

I really appreciate the help. I'm just really lost.
See this thread: http://www.cplusplus.com/forum/beginner/56347/

Hope that helps 垃圾邮件
I'm sorry, I just didn't know that forum to post it in.
Topic archived. No new replies allowed.