WAP TO CONVERT CELCIUS TO FAHRENHEIT
Thursday, July 2, 2009
Leave a Comment
#include<stdio.h>
#include<conio.h>
void main ()
{
float c,f;
clrscr ();
printf ("Enter the value of celcius: ");
scanf ("%f",&c);
f=(float) 1.8*c+32;
printf ("\nFahrenheit is %.2f",f);
getch ();
}
0 comments »
Leave your response!