- Get link
- X
- Other Apps
Posted by
Naveen M K
on
- Get link
- X
- Other Apps
#Celsius to farenheit
c=float(input('Enter temperature in Celsius (C):'))#int can also be used instead of float
ce=((c*9)/5)+32
print('The above temperature in Fahrenheit is %s F'%ce)
Here the program asks input in Celcius and returns the answer in Fahrenheit. A simple program to do so.
Related post:
Convert Fahrenheit to Celcius
Comments
In a way useful for me.
ReplyDelete