to accept temperature in centigrade and convert it to fahrenheit.F=9/5(C+32) IN C LANGUAGE .
please help friends
Answers
Answered by
0
celsius = float(input('Enter degree Celsius: '))
# calculate fahrenheit
fahrenheit = (celsius * 1.8) + 32
print('%0.1f degree Celsius is equal to %0.
1f degree Fahrenheit' %(celsius,fahrenheit))
# calculate fahrenheit
fahrenheit = (celsius * 1.8) + 32
print('%0.1f degree Celsius is equal to %0.
1f degree Fahrenheit' %(celsius,fahrenheit))
Answered by
1
Answer:
fahrenheit = (($celsius*9)/5)+32 ; echo("Temperature in Fahrenheit is: "); echo($fahrenheit);
Similar questions