15.WAP to convert a Fahrenheit temperature to centigrate
CODE:
fahrenheit=int(input("Enter the temperature in Fahrenheit\n"))
celcius=(fahrenheit * 9/5) + 32
print("the temperature in centigrade is",celcius)
OUTPUT:
Enter the temperature in Fahrenheit
54
the temperature in centigrade is 129.2
Comments
Post a Comment