C program to convert Fahrenheit into Celsius.

                                      To convert Fahrenheit into Celsius you need to apply simple formula    (F-32)/1.8.

C program to convert fahrenheit into celsius


#include<stdio.h>

void main()
{
       float c,f;

       clrscr();
       printf("Enter the value of Fahrenheit::");
       scanf("%f",&f);

       c=(f-32)/1.8;

       printf("Celsius is:: %f",c);

       getch();
}


C program to convert Fahrenheit into Celsius


Download


0 comments:

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :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.