Question: Use C only NOT C++ Yearly rainfall data for four weather stations in a certain county is recorded in the table below. Initialize at declaration

Use C only NOT C++
Yearly rainfall data for four weather stations in a certain county is recorded in the table below. Initialize at declaration a double subscripted array of doubles with the rainfall data at the four stations for the six years shown. It may also be convenient to initialize an array of years and an array of station numbers. Call a function to find the average rainfall for each year. Function parameters will include the two-dimensional array of rainfall data and the one-dimensional array of yearly averages. The number of rows and columns in the array may be defined as symbolic constants or may be passed as array parameters. Call a second function to find the average rainfall in the county for the 6-year period. Return the overall average pass by value. The array of rainfall data will be a function parameter. The number of rows and columns in the array may be defined as symbolic constants or may be passed as array parameters. Call a third function to print the labeled table of rainfall data, the yearly averages, and the overall average. Print the yearly averages directly below the column data for the appropriate year. Determine with an if statement the years in which the rainfall was above the overall average; then print
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
