fork download
  1. #include <iostream>
  2. using namespace std;
  3. int x;
  4. int main() {
  5. cin>>x;
  6. for (int i=1; i<=11; i++)
  7. cout<<x*i<<"\t";
  8. return 0;
  9. }
Success #stdin #stdout 0.01s 5288KB
stdin
2
stdout
2	4	6	8	10	12	14	16	18	20	22