Skip to content

Instantly share code, notes, and snippets.

@ilmoeuro
Forked from anonymous/c++ trouble
Created December 1, 2017 09:51
Show Gist options
  • Save ilmoeuro/e13bcb197450258dc7498629a7df95f5 to your computer and use it in GitHub Desktop.
Save ilmoeuro/e13bcb197450258dc7498629a7df95f5 to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
int main()
{
for (int y=1;y<=10;y++)
{
int x = y * 2;
cout << "2 x " << y << " = " << x << endl;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment