Auto AdSense
Saturday, 25 October 2014
C Program of converting Celsius to Fahrenheit
#include <stdio.h>
#include <conio.h>
void main()
{
float c, f;
clrscr();
printf(" Enter temp in centigrade: ");
scanf("%f",&c);
f = ( 1.8 * c ) + 32;
printf(" Temperature in Fahrenheit = %f", f);
getch();
}
Labels:
C programs
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment