1 min read
video that help:
https:/
Temperature code:
#include iostream
using namespace std;
int F,C;
int main ()
{
cout “This program will convert Fahrenheit temperature to Celsius including if water boils at that temperature” endl;
cout “Fahrenheit temperature: ” endl;
cin F;
int C= ((5*(F-32))/9);
cout “The temperature on Celsius is: ” C endl;
if (C > 100)
cout “The water will boil” endl;
else
cout “The water won´t boil” endl;
return 0;
}
#WSQ05 #TC1017 by Pablo Guerra is licensed under a Creative Commons Attribution 4.0 International License.