Chapter 5, Problem #1 Test Data
When testing your program, it's important to know whether it works. One way to do this is to input values, and then compare your program's results with results you've already pre-calculated.
I've done that here for you with this Celsius/Fahrenheit conversion table.
Be sure your program does these calculation correctly---and also test one or two other scenarios.
Celsius | Fahrenheit |
-17.7777 | 0 |
0 | 32 |
20 | 68 |
100 | 212 |