Devry COMP 122 Entire Course DEVRY COMP 122 Lab 1 Lab Report and Source Code | Page 2

2. Identify the processing needed to convert the inputs to the outputs.
3. Design an algorithm in pseudo code to solve the problem. Make sure to include steps to get each input and to report each output.
4. Identify two test cases, one using whole number values, and one using decimal number values. For each of the two test cases show what inputs you will use and what your expected outputs should be.
5. Write the program to implement your algorithm. Test your program using your test cases. Did your program produce the values predicted in your test cases? Explain.