need help..by using arrays..

By using two-dimensional arrays, how i must write a program to read this Air Pollution Index (API) as an input from the user and store the data in a two-dimensional array. and this program should calculate the average API for each of the four weeks. The example of API readings are given in the table below.

Mon Tue Wed Thus Fri Sat Sun Average
Week 1 88 43 56 78 98 102 105 ??
Week 2 101 110 115 130 78 77 56 ??
Week 3 44 67 89 45 33 45 33 ??
Week 4 100 189 201 55 34 67 88 ??
Last edited on
Do you have any code yet? This forum is just for help, and will not do an entire project for you.

Do you know how to declare a two dimensional array variable?
Do you know how to output text for the user to read?
Do you know how to access individual locations within an array variable?
Do you know how to request and retrieve input from the user?
Do you know how to calculate an average?

If you are stuck on any of those questions I just asked, let me know.
Otherwise, if you already know the answer, please try to write some of the code yourself. Then people here can help a lot more by knowing where you become stuck. :-)
Topic archived. No new replies allowed.