Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#include <iostream>
using namespace std;
int main ()
{
int i;
cout << "Please enter the degrees in Celcius ";
cin >> i;
cout << "That number in fahrenheit is: " << i*1.8 + 32 << ".\n";
return 0;
}
David,
That code works fine. See attached.
Mike.
#include <iostream>
using namespace std;
int main ()
{
double i;
cout << "Please enter the degrees in Celcius ";
cin >> i;
cout << "That number in fahrenheit is: " << (i*1.8)+32 << ".\n";
return 0;
}
#include <iostream>
using namespace std;
int main ()
{
int i;
while(1){
cout << "Please enter the degrees in Celcius ";
cin >> i;
cout << "That number in fahrenheit is: " << i*1.8 + 32 << ".\n";
}
return 0;
}
#include <iostream>
using namespace std;
int main (){
double i;
cout << "Please enter the degrees in Celcius: ";
cin >> i;
cout << "That number in fahrenheit is: " << (i*1.8)+32 << ".\n";
system("pause");
return 0;
}
I've attached the zipped exe file, what happens if you run this?
Did you download the version of Dev-C++ that included the mingw compiler?
Mike.
thx guys.....
its really help a lot.
lucky to know this website to solve my problem.^^