Programming assignment help

computer science

Description

1. Modify the program to add a function to sum the rainfall for each year. (Hint: you need to sum for each year. You can do this using a looping structure). Support your experimentation with screen captures of executing the new code.
2. Enhance the program to allow the user to enter another meteorological element such as wind speed (e.g. 2.4 mph). Note, the user should be able to enter both rainfall and wind speed in your new implementation. Support your experimentation with screen captures of executing the new code.
3. Prepare a new test table with at least 2 distinct test cases listing input and expected output for the code you created after step 2.
4. What happens if you change the NUMMONTHS and NUMYEARS definitions to other values? Be sure to use both lower and higher values. Describe and implement fixes for any issues if errors results. Support your experimentation with screen captures of executing the new code.

Instruction Files

Related Questions in computer science category