Write a program to convert temperature from centigrate to farenhiet
Program:
#include<stdio.h> #include<conio.h> void main() { float c,f; printf("\n Enter temperature in centigrate:"); scanf("%d",&c); f=(c*9/5)+32; printf("\n Temp in fah=%f",f); getch(); }
Output:
Enter temperature in centigrate:37 Temp in fah=98.599998
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Program:
Output:
need an explanation for this answer? contact us directly to get an explanation for this answer