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