helo can anyone help me?? please..
im a 1st year college student...
i dont really get it...
need a C++ program that reads a Fahrenheit degree in double, then
converts it to Celsius. the formula for the conversion is as follows:
Celsius = (5/9) * (Fahrenheit -32)
can some1,, do this for me?? please..
i'll use it as my base..
tnx:)
here i will write the source c++ code to program that reads a Fahrenheit degree in double, then
converts it to Celsius.
1 2 3 4 5 6 7 8 9 10 11 12 13
# include <iostream.h>
# include<conio.h>
void main(void)
{
double C,F;
clrscr();
cout<< " Enter the fahrenheit degree in Double "<<endl;
cin>>F;
C= (5/9)*(F-32);
cout<<" the celsius degrees equilent to given fahrenheit is " << C <<endl;
getch();
}
To enhane your knowledge go through Introduction to c++ books at