PLEASE I NEED TO DO THIS :( AND I DONT KNOW HOW !!!
THANX IN ADVVANCE :'(
(A)
The rainfall figures in mm are available for each day of the past four weeks. Write a function generateReport() that displays the total rainfall for each week and the most wettest day. The function takes as parameter a two-dimensional array named, figures of size 4 x 7, that contains rainfall figures in which each row represent a week and each column represent a day.
For example, if the array contains the following rainfall data:
I think that the wettest day is 5 because you numbered days starting from 0.
Also it is not clear what kind of help you need because you did not show any code.
This is obviously an assignment, how far did you get? If you can not even think of how to start solving this problem then you should talk to your teacher and ask for some help.