Skip to content

Instantly share code, notes, and snippets.

@ampulhetadosaber
Created May 16, 2020 18:54
Show Gist options
  • Save ampulhetadosaber/ab7424eefa7bade3d0685ed8c6b96e49 to your computer and use it in GitHub Desktop.
Save ampulhetadosaber/ab7424eefa7bade3d0685ed8c6b96e49 to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
int main()
{
int x;
cin >> x; // leio o valor de x
if(x == 12) // se x for igual a 12
{
cout << "eh igual\n"; // imprimo "eh igual"
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment