#include <stdio.h>
int main() {
float fahrenheit, celsius;
printf("Digite a temperatura em Fahrenheit: ");
scanf("%f", &fahrenheit);
celsius = (fahrenheit - 32) * 5 / 9;
printf("Temperatura em Celsius: %.2f\n", celsius);
return 0;
}
Digite a temperatura em Fahrenheit: 98.6
Temperatura em Celsius: 37.00
To embed this project on your website, copy the following code and paste it into your website's HTML: