Programa 9 - Conversão de graus em Celsius para Fahrenheit
Python
# Algoritmo para converter de graus Celsius para Fahrenheit
# Temperatura pedida pelas pessoas
Celsius = float(input("Digite a temperatura em graus Celsius: "))
# Conversão de graus Celsius para Fahrenheit
Fahrenheit = (9 * Celsius + 160)/5
# O Resultado da conversão é
print("A temperatura em Fahrenheit é:", Fahrenheit)
Output
Embed on website
To embed this program on your website, copy the following code and paste it into your website's HTML:
Comments
This comment belongs to a banned user and is only visible to admins.
This comment belongs to a deleted user and is only visible to admins.