GTU PPS Practical - 6
Write a program to compute Fahrenheit from centigrade (f=1.8*c +32)
#include
int main() {
float F, C;
printf("Enter Temperature in Celsius : ");
scanf("%f", & C);
F = (C * 1.8) + 32;
printf("\n %.2f Celsius = %.2f Fahrenheit", C, F);
return 0;
}