CMIS 102 Hands-On Lab Week 8 Overview This hands-on lab allows you to follow and experiment with the critical steps of developing a program including…

1. Modify the program to add a function to sum the rainfall for each year. (Hint: you need to sumfor each year. You can do this using a looping structure). Support your experimentation withscreen captures of executing the new code.

2. Enhance the program to allow the user to enter another meteorological element such aswindspeed (e.g. 2.4 mph). Note, the user should be able to enter both rainfall and windspeed inyour new implementation. Support your experimentation with screen captures of executing thenew code.

3. Prepare a new test table with at least 2 distinct test cases listing input and expected output forthe code you created after step 2.

4. What happens if you change the NUMMONTHS and NUMYEARS definitions to other values? Besure to use both lower and higher values. Describe and implement fixes for any issues if errorsresults. Support your experimentation with screen captures of executing the new code.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply