Would you please help me with this c program .. please it is C program, you see c codes not c++
ENGR 200 SPRING, 2017 A6: CALCULATING PEAKELEVATIONS (using input/output files, if structures, one-dimensional character arrays, one-dimensional and two-dimensional numeric arrays) DUE: March 20, 2017 at 11:59 PM, CDT (Mon Wed section March 21, 2017 at 11:59 PM, CDT Tues Thur sections and DEDP) POINTS: 65 INTRODUCTION: You are a Mechanical Engineer working for a company that designs autonomous air and ground vehicles. To follow and/or avoid terrain, the vehicles need to have the capability to detect elevation differences. The systems that guide these vehicles need to be tested over a variety of terrain anomalies. You have determined that elevation information for large grids of the Earth's surface are often available in large computer databases. And one way to detect terrain anomalies of a grid sector is to determine the peak elevations in the grid. An input file called terrain contains elevation data for a designated land grid region. The first record line contains the grid size, the second record line contains the grid name, the third record line contains the grid row letters, the fourth record line contains the grid column numbers, and the remaining record lines are the grid elevations. ASSIGNMENT: Write a C program that will do the following: 1) Read the grid size; 2) Using a one-dimensional character array read the grid name; 3) Using a one-dimensional character array read the grid row Using dimensional numeric array read the grid column numbers; 5) Using a two-dimensional numeric array read the elevation data. Your program will: 1) Compute the average elevation; 2)Determine the minimum and maximum elevations; the grid row and grid column of the minimum elevation; 4) Determine the grid row and grid column of the maximum elevation: 5) Determine the number of peak elevations. Note: A peak elevation occurs when the four surrounding elevations are lower Also, the elevations that are on the edges of the grid cannot be considered as elevations since they are not surround by elevations on a four sides. Your program will print to the computer screen and to an output file called grid report. OUTPUT FORMAT: AREA-49-LAND-GRID-SURVEY Elevations in feet 10 site Report 1 Average elevation is xxx x feet this grid is xx Number of peaks Mininun elevation is xxx x feet at grid Maximun elevation is xxx x feet at grid