A program Convert Temperature Fahrenheit to centigrade



1
2
3
4
5
6
7
8
9
#include<stdio.h>
int main()
{
float ftemp,ctemp;
 printf("Enter temperature of city in fahrenheit");
 scanf("%f",&ftemp);
 ctemp=(5.0/9.0)*(ftemp-32);
 printf("\nThe given temperature in centigrade is %f",ctemp);
}

                    If you face any problem so contact me Thank you 

Contact :- https://www.facebook.com/Teach.Coding

Post a Comment

Protected

Protected by Copyscape
 
Learn Programming © 2017. All Rights Reserved. Shared by S.A.R
Top