//Declare uma variável para armazenar uma temperatura em graus Celsius.
//Em seguida, calcule e exiba a temperatura em Fahrenheit.
//Fórmula: Fahrenheit = (Celsius * 9/5) + 32.
#include <stdio.h>
int main(){
float temperaturaCelsius;
printf("Digite a temperatura atual em graus celsius");
scanf("%f", &temperaturaCelsius);
float temperaturaFahrenheit = (temperaturaCelsius * 9/5 ) + 32;
printf("A temperatura que você digitou convertida para Fahrenheit é: %f", temperaturaFahrenheit);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: