Thursday, June 16, 2011

Homework 2: Numeric Types and Expressions (100 points)

Convert Between °C and °F. Convert temperatures from one system to another. Conversion Constants:  32°F = 0°C, 212°F = 100°C.

The following two formulae converts between °C (Celsius) and °F (Fahrenheit).

Equation 4.2. Convert °C (Celsius) to °F (Fahrenheit)

Equation 4.3. Convert °F (Fahrenheit) to °C (Celsius)
Create a print statement to convert 18° C to °F.
Create a print statement to convert -4° F to °C.


Write your answer in a whole sheet of yellow paper. Do not forget the date, name, course & section to write it on your paper. Late submission will not be accepted.

No comments:

Post a Comment