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:
![](https://hi-static.z-dn.net/files/d04/5be0a2b095b92427cb5dea9e00fb90ff.jpg)
Similar questions
English,
1 month ago
Computer Science,
3 months ago
Science,
3 months ago
English,
11 months ago
English,
11 months ago