Write a program to convert temperature from Celsius to Fahrenheit. Equation to convert Celsius to Fahrenheit:

F = (9/5) ∗ C + 32.

Code

# Write a program to convert temperature from Celsius to Fahrenheit

print("Enter temperature in Celsius: ", end="")
celsius = float(input())
fahrenheit = (celsius * 9/5) + 32

print("Temperature in Fahrenheit: ", fahrenheit)

Output





Happy Coding :)