Jayesh Chauhan Gtu Paper Solution
#include<stdio.h>
#include<conio.h>
void main()
{
float fahr,cent;
clrscr();
printf("give the value of temperature in fahrenheit\n";
scanf("%f",&fahr);
cent=5*(fahr-32)/9;
printf("fahrenheit temperature=%f\n",fahr);
prinf("centigrade temperature=%f\n",cent);
}

output:
give the value of temperature in fahrenheit
100
fahrenheit temperature=100.000000
centigrade temperature=37.777779
Like · Comment ·
Sunny Sharma and 4 other like this
Download Android App