01 #include <stdio.h>
02
03 int main()
04 {
05 float c, f;
06 printf(" Enter temp in centigrade: ");
07 scanf("%f",&c);
08 f = ( 1.8 * c ) + 32;
09 printf(" Temperature in Fahrenheit = %f", f);
10
11 return 0;
12 }
OUTPUT :
Enter temp in centigrade: 100
Temperature in Fahrenheit = 212