#include<stdio.h>
#include<conio.h>
Void main()
{
float c,f; /*c for Celcious and f for Fahrenheit*/
clrscr();
printf(“enter celcious\n”);
scanf(“%f”,&c);
f=(c+32)*9/5;
c*9/5+32;
printf(“\n temperature in Fahrenheit of celcious .%2f is %f", c,f);
getch();
}
Output:
enter celcious
10.5
temperature in Fahrenheit of celcious 10.50 is 76.500000