#WSQ05 #TC1017

<iostream>

using namespace std;

int main()

{

int Fahrenheit;

int celcius;

cout <<“What is the temperature in Fahrenheit?” <<endl;

cin >> Fahrenheit;

celcius = (5*(Fahrenheit-32))/9;

cout << “A temperature of “<<Fahrenheit<< ” is “<<celcius<<” in celcius” <<endl;

if (celcius>=100)

{

cout<<“water would boil at this temperature (under typical conditions)” <<endl;

}

else

{

cout<<“water would not boil at this temperature (under typical conditions)”<<endl;

}

return 0;

}

CC BY 4.0 #WSQ05 #TC1017 by Joshua B. G. is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.