-
Linguagem
PSeInt (Pseudo-código)
-
Descrição
Conversão de graus Fahrenheit para graus Celsius
1
2
3
4
5
6
2
3
4
5
6
Proceso GrausFahrenheitParaCelsius
Escribir Sin Saltar "Digite o valor do graus fahrenheit:";
Leer graus_fahrenheit;
graus_celsius <- (graus_fahrenheit-32)/1.8;
Escribir "O valor do graus celsius: ", graus_celsius;
FinProceso
Escribir Sin Saltar "Digite o valor do graus fahrenheit:";
Leer graus_fahrenheit;
graus_celsius <- (graus_fahrenheit-32)/1.8;
Escribir "O valor do graus celsius: ", graus_celsius;
FinProceso