3. Write a program to accept the temperature in Celsius and display the temperature in Fahrenheit.
°F = °C × 1.8 + 32
PYTHON
Answers
Answered by
4
Answer:
celsius = float(input("Enter temperature in celsius: "))
fahrenheit = (celsius * 1.8) + 32
print('%.2f Celsius is: %0.2f Fahrenheit' %(celsius, fahrenheit))
Explanation:
Similar questions