//slip 23 temperature conversion
//Formulae
//f=c*9/5+32
//c=(f-32)*5/9
#include<stdio.h>
main()
{
float c,f;
printf("Enter
temprature in celcius");
scanf("%f",&c);
f=c*9/5+32;
printf("Fahrenheit
Temprature %f is equal to %f Celcius\n",f,c);
}
No comments:
Post a Comment