#include<stdio.h>
#include<conio.h>
#include<math.h>
main()
{
float c,f,temp;
clrscr();
printf("Enter Temperature Value in Celsius\t");
scanf("%f",&c);
temp=c*9/5;
temp=temp+32;
f=temp;
printf(" The foreign heat Value\t%f",temp);
getch();
}
#include<conio.h>
#include<math.h>
main()
{
float c,f,temp;
clrscr();
printf("Enter Temperature Value in Celsius\t");
scanf("%f",&c);
temp=c*9/5;
temp=temp+32;
f=temp;
printf(" The foreign heat Value\t%f",temp);
getch();
}
output:
Enter Temperature Value in Celsius 1
The foreign heat Value 33.799999
0 comments:
Post a Comment