Question: 9/9 140:43 iex (15.05)) 9. Write a modular program that analyzes the annual rainfall data of Hangzhou. (1) In addition to the main function, the
9/9 140:43 iex (15.05)) 9. Write a modular program that analyzes the annual rainfall data of Hangzhou. (1) In addition to the main function, the program should design a ReadData(.....) function to get the rainfall data of each 12 months from a file call "rainfall.txt". (2) After having got these data, the program then displays all these data on screen (3) Design the function void RainFallAnalysis(.....) that finds out the average rainfall, the max and the minimum rainfull. By calling this function, the main should these results on the screen Execution of the program would be: Annual Rainfall Report of HANGZHOU 73.4 842 138.2 126.2 146.6 231.1 159.4 155.8 145.2 87.0 60.1 47.1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
