WAP to convert temperature entered in celsius to Fahrenheit.(Python programming)
Answers
Answered by
288
Conversion formula:
Input
'%0.1f Celsius is equal to %0.1f degree Fahrenheit'%(celsius,fahrenheit))
_____________________
Output
>>>Celsius = floss (input ('Enter temperature in Celsius'))
Enter temperature in Celsius : 37
>>> #calculate temperature in Fahrenheit
>>> Fahrenheit = ( Celsius* 1.8) + 32
>>>print('%0.1f Celsius is equal to % 0.1f degree Fahrenheit' % (Celsius, Fahrenheit))37.0 Celsius is equal to 98.6 degree Fahrenheit
___________________
Note : - see output in pic ⬆️
Attachments:
Similar questions