Sequential Exercise 1.

Develop a program that will accept a temperature in Fahrenheit and output the equivalent temperature in Celsius.

Algorithm

TempConversion
    read fahrenheit
    celsius:= (fahrenheit-32)/9*5
    write celsius
End.

 

PROGRAM: tempcon.cpp