Write a Program to Convert Fahrenheit To Celsius
//Write a Program to Convert Fahrenheit To Celcius.
#include<stdio.h>
#include<conio.h>
void main()
{
int f,c;
printf("\n Enter a Fahrenheit=");
scanf("%d",&f);
c=(f-32)*5/9;
printf("\n Celsius=%d",c);
getch();
}
Output:-
Enter a Fahrenheit=3
Celsius= -16
Related Program (Please Check)
0 Comments