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
Accountancy,
4 months ago
English,
4 months ago
Math,
4 months ago
Math,
8 months ago
Chemistry,
1 year ago