Program: 54
Write a c program to convert Fahrenheit degree into Centigrade degree | Let Us C Solutions
#include<stdio.h> #include<conio.h> int main() { float f, c; printf("Enter Temperature in Fahrenheit: "); scanf("%f", &f); c = (f-32)*5/9; printf("The Temperature in Centigrade Degree: %.2f", c); return (0); }
Output:
Enter Temperature in Fahrenheit: 98
The Temperature in Centigrade Degree: 36.67
Leave a Comment