Sunday, October 11, 2009

programming

# include

using namespace std;



int main()
{
double x; double celcius;
cout <<"conservation of fahrenheit to celcius and kelvin"<< endl; cout << endl << endl; cout <<"fahrenheit: "; cin >>x;
celcius=(5.0 / 9.0) * (x - 32);
cout <<"celcius: " << celcius << endl << endl;
cout << "kelvin: " << celcius + 273 <
system("pause");
return 0;

}


No comments:

LinkWithin

Related Posts with Thumbnails