centigrade to Fahrenheit formula (f=1.8*c +32)
#include <stdio.h> 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; }
More C programs are here