Best collection of C programs
Showing posts with label
WAP TO CONVERT CELCIUS TO FAHRENHEIT
.
Show all posts
Showing posts with label
WAP TO CONVERT CELCIUS TO FAHRENHEIT
.
Show all posts
Tuesday, January 4, 2011
CELCIUS TO FAHRENHEIT
WAP TO CONVERT CELCIUS TO FAHRENHEIT
void main ()
{
float c,f;
clrscr ();
printf ("Enter the value of celcius: ");
scanf ("%f",&c);
f=(float) 9/5*c+32;
printf ("\nFahrenheit is %.2f",f);
getch ();
}
Older Posts
Home
Subscribe to:
Posts (Atom)