#include <stdio.h>
main(){
float c,k,f;
printf("enter the temperature in Celsius");
scanf("%f",&c);
k = c + 273;
f = 1.8 * c +32;
printf("\n%f in C = %f in K = %f in F",c,k,f) ;
}
main(){
float c,k,f;
printf("enter the temperature in Celsius");
scanf("%f",&c);
k = c + 273;
f = 1.8 * c +32;
printf("\n%f in C = %f in K = %f in F",c,k,f) ;
}
No comments:
Post a Comment