Solution:
#include<stdio.h>
#include<conio.h>
int main()
{
float cel,fer,kel;
printf("Enter Temperature in Fahrenheit :");
scanf("%f",&fer);
cel= (fer-32)/1.8 ;
printf("Celsius = %f \n",cel);
kel = (fer-32)/1.8 + 273.15 ;
printf("Kelvin = %f \n",kel);
return (0) ;
}
0 Comments