What helped me to do this was the activity “Fun with numbers”, because it was like the same.

Also: http://aprendecpp.com/blog/estructuras-condicionales-if-else-en-c.html in the parte of the conditional.

My code is:

#include <iostream>
using namespace std;
int main ()
{
float C;
float F;
cout<<“En Fahrenheit:”<<endl;
cin>>F;
C=5*(F-32)/9;
cout<<“En Celsius:”<<C<<endl;
if (C>=100)
cout<<“Water boils at this temperature”;
else
cout<<“Water does not boil at this temperature”;
return 0;
}

5
http://scubafusion.com/monterey_current_conditions.htm