algoritmo "Exemplo7"
// Função :
// Autor :
// Data :
// Seção de Declarações
var
temp_celsius, temp_fahrenheit: real
inicio
// Seção de Comandos
escreval ("Informe a temperatura em graus Celsius:
")
leia (temp_celsius)
temp_fahrenheit <- (9 * temp_celsius + 160) / 5
escreval ("A temperatura em graus Fahrenheit é:
", temp_fahrenheit)
fimalgoritmo