fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. int n ;
  7. cin >> n;
  8. for(int i =1; i<=10;i++)
  9. {
  10. cout << i*n << endl;
  11.  
  12. }
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19. }
  20.  
Success #stdin #stdout 0.01s 5300KB
stdin
140
stdout
140
280
420
560
700
840
980
1120
1260
1400