Program to convert temperature from degree centigrade to Fahrenheit.
C Programming Language Fundamentals of C Language (Article) Fundamentals of C Language (Program)
2795Program:
#include"stdio.h" void main() { float c,f; printf("enter temp in centigrade: \n"); scanf("%f",&c); f=(1.8*c)+32; printf("temp in Fahrenheit=%f \n",f); }
Output:
enter temp in centigrade: -40 temp in Fahrenheit=-40.000000 Press any key to continue . . .
This Particular section is dedicated to Programs only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.