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

Emoticon
:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

Protected

Protected by Copyscape
 
Learn Programming © 2017. All Rights Reserved. Shared by WpCoderX
Top