scale converting Fahrenheit to centigrade in C
#include<stdio.h>
#include<conio.h>
int main(){
double cent, fehr;
printf("Enter temp. in centegrade scale: ");
scanf("%lf",¢);
fehr= (cent * 9)/5 + 32;
printf("Temp in fehrenheit scale: %0.2lf",fehr);
getch();
return 0;
}
No comments:
Post a Comment