What happens if you change the nummonths and numyears


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 windspeed (e.g. 2.4 mph). Note, the user should be able to enter both rainfall and windspeed 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.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: What happens if you change the nummonths and numyears
Reference No:- TGS01298555

Expected delivery within 24 Hours