C Programs RSS
Showing posts with label
Celsius To Fahrenheit
.
Show all posts
Showing posts with label
Celsius To Fahrenheit
.
Show all posts
Sunday, October 16, 2011
Celsius To Fahrenheit
#include<stdio.h>
#include<conio.h>
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)