#include<conio.h>
#include<iostream.h>
void main()
{
float f,c;
clrscr();
cout<<"Enter Fahrenheit degree to find temperature in celsius: ";
cin>>f;
c = (f-32)/1.8;
cout<<"\n\n\tCELSIUS DEGREE = "<<c;
getch();
}
#include<iostream.h>
void main()
{
float f,c;
clrscr();
cout<<"Enter Fahrenheit degree to find temperature in celsius: ";
cin>>f;
c = (f-32)/1.8;
cout<<"\n\n\tCELSIUS DEGREE = "<<c;
getch();
}
10 comments:
Thankx
THank you !! :*
Nice Post
http://www.programmingtutorial.info/
Programming Tutorial offers you a better of IT academic tutorials to settle on from. you'll notice it all, here at http://www.programmingtutorial.info/. Programming Tutorial coaching is one in all the foremost best and proficient programming tutorial on-line coaching web site within the world.
Answer is coming true of celsius
I think C=5/9(f-32
thank you
What is the output of above prgrm when enter 5 ?
-15
Post a Comment