Convert Fahrenheit to Celsius.
Enter the Temperature in Fhrenheit: 99
Temperature in Celsius=37.22
output:#include <stdio.h> int main () { float fa,ce; printf(" Enter the Temperature in Fhrenheit: \n"); scanf("%f",&fa); ce= 5.0/9.0*(fa-32); printf("\n Temperature in Celsius=%f",ce); return 0; }
Enter the Temperature in Fhrenheit: 99
Temperature in Celsius=37.22
Post a Comment