CMIS 102 Lab exercise Chapter 5 ************** Download the calculator.cpp program from: http://sensei.ad.umuc.edu/dwills/cmis102/calculator.cpp Modify it so that it prevents division by zero. Use an if statement to "guard" the division and mod operations. Have it output an error message if the divisor is zero. Modify it so that it does square roots of the two input numbers. What happens if the numbers are negative? Modify it so that it prevents square rooting of negative numbers. *************** Download the conechoice.cpp program http://sensei.ad.umuc.edu/dwills/cmis102/conechoice.cpp Run it to test all five branches. Modify it so that it doesn't ask for the radius and height if the use selects the quit option. ************** Download and run the month_num.cpp program http://sensei.ad.umuc.edu/dwills/cmis102/month_num.cpp ************** Run and test all paths thru the activity.cpp program of page 227. http://sensei.ad.umuc.edu/dwills/cmis102/activity.cpp Then change the program so that the activities and their tempera- ture ranges are as follows: curling 10 < temp <= 30 fox hunting 30 < temp <= 55 biathlon temp < 10 sumo temp > 55 Test all possible ranges so that you know your program is correct.