Created
September 1, 2017 17:12
-
-
Save jesuscmadrigal/ba73e75e82fd76ce745eb7cb71efd869 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() | |
{ int Celsius,Fahrenheit; | |
cout << "Enter Fahrenheit temperature: "; | |
cin >> Fahrenheit; | |
Celsius = (Fahrenheit-32)*5/9; | |
cout << "Celsius = " << Celsius << endl; | |
if (Celsius >= 100) | |
{ cout << "With this temperature water boils." << endl;} | |
else | |
{ cout << "With this temperature water does not boils. " << endl;} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment