170k views
4 votes
Temperature is measured in degree celsius. Given the temperature in Fahrenheit , write a program to determine the values in degree cel

cius. [C = 5/9 (F -32)]









User Korefn
by
4.3k points

1 Answer

6 votes

Lets use python


\tt F=(int(input(


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


\tt print(

Sample run

Enter Temperature in Fahrenheit: 42

Temperature in Celsius is 5.555

User Duat Le
by
4.2k points