Lab 2

2/12/04

Task: Write a program that asks the user for a temperature in Fahrenheit and prints out the temperature in Celsius. The equation for the conversion is:

C = (F-32) * (5/9)

Use a function to do the conversion.

Purpose: The primary purpose of this program is to practice using functions. Don't forget to prototype your functions.


Solution: