21- Write a program in python to read temperature in Celsius and print it into Fahrenheit
Answers
Answered by
0
Answer:
Explanation:
# Collect input from the user
celsius = float(input('Enter temperature in Celsius: '))
# calculate temperature in Fahrenheit
fahrenheit = (celsius * 1.8) + 32
print('%0.1f Celsius is equal to %0.1f degree Fahrenheit'%(celsius,fahrenheit))
Similar questions
Math,
3 hours ago
Physics,
3 hours ago
India Languages,
3 hours ago
Geography,
7 months ago
Math,
7 months ago