Monday, 19 October 2015

C program to convert farhenheit into degree celcius

#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
float f,c;
clrscr();
printf("enter value in farhenheit= ");
scanf("%f",&f);
c=0.59*(f-32);
printf("value in celcius=%f",c);
getch();
}

No comments:

Post a Comment