Author:
Joyce Buda

http://theperfecthomework.com/cmis-102-week-2-hands-on-lab/

Learning Exercises for you to complete

1. Change the C code to calculate the product of two integers as opposed to the sum of two integers. Support your experimentation with a screen capture of executing the new code

2. Prepare a new test table with at least 3 distinct test cases listing input and expected output for the product of two integers.

3. Change the C code to calculate the quotient (e.g. a/b) of two floats (e.g. 2.3/1.5).Hint: Use float variable types as opposed to integers. What happens if the denominator is 0.0? Support your experimentation with screen captures of executing the new code

4. Prepare a new test table with at least 3 distinct test cases listing input and expected output for the quotient of two floats

Tutorial