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.
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. :-)