Lab 2

In-class :

  • Write a program with a function celsius that converts temperature from Fahrenheit to Celsius. The conversion formula from Fahrenheit to Celsius is F is the Fahrenheit temperature, and C is the Celsius temperature.
  • The program will ask the user for the temperature in Fahrenheit, call the function celsius and display the corresponding temperature in Celsius.
  • You must use function prototypes in your code.
  • Due TODAY before the end of the class.


  • Log into your CodeStepByStep account created in Lab 0.
  • Complete the Lab 2 exercises
  • Deadline: An hour before the beginning of next class.

To practice more problems please visit:

Leave a Reply

Your email address will not be published. Required fields are marked *