Code In Tech - The Ultimate World of Computer Technology

Sunday 25 March 2012

C program to Find temperature in fehrenheit

SOURCE CODE:
#include<stdio.h>
#include<conio.h>
void main()
{
 float c,f;
 clrscr();
 printf("Enter temperature in celsius :");
 scanf("%f",&c);
 f=(1.8)*c+32;
 printf("Temperature in fehrenheit is : %f",f);
 getch();
}

No comments :

Post a Comment