Skip to content

Instantly share code, notes, and snippets.

@ampulhetadosaber
Created May 16, 2020 18:40
Show Gist options
  • Save ampulhetadosaber/6f29e2ea1cd34f51cef9e93d779bee55 to your computer and use it in GitHub Desktop.
Save ampulhetadosaber/6f29e2ea1cd34f51cef9e93d779bee55 to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
int main()
{
int x; // declaro uma variável inteira e a chamo de x
cin >> x; // leio o valor de x
cout << x << "\n"; // imprimo esse valor
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment