If you have both of the last two functions (Celsius to Farenheit, and Farenheit to Celsius), are the exact inverses of one another? If you convert 32 degree Farenheit to Celsius, and then back to Farenheit, do you get 32 again? Try out different values. When does it work, and when doesn’t it and why?

What will be an ideal response?

Yes, you do get 32 with the call: fToC(cToF(32))

The values may be incorrect if the answers to the previous question made use of int division, or if one used one of the faster but less precise formulas.

Computer Science & Information Technology

You might also like to view...

When a form is protected, you can move from one content control to the next by pressing Tab

Indicate whether the statement is true or false

Computer Science & Information Technology

A(n) ________is a matrix that provides the results (TRUE or FALSE) for every possibility of an AND, OR, or NOT criteria combination

A) AND/OR/NOT tool B) evaluation matrix C) truth table D) goal table

Computer Science & Information Technology