#include<stdio.h>
#include<conio.h>
void main()
{
float t,f;
clrscr();
printf("\n enter the temperture in degree celsius\n");
scanf("%f",&t);
f=(9.0)/5*t+32;
printf("\n temperature in degree fahrenheit=%.2f",f);
getch();
}
#include<conio.h>
void main()
{
float t,f;
clrscr();
printf("\n enter the temperture in degree celsius\n");
scanf("%f",&t);
f=(9.0)/5*t+32;
printf("\n temperature in degree fahrenheit=%.2f",f);
getch();
}
No comments:
Post a Comment