fork download
  1. #include<stdio.h>
  2. int main(){
  3. int n;
  4. scanf("%d",&n);
  5. for(int i = 1; i<=10;i++){
  6. printf("%d x %d = %d\n",n,i,n*i);
  7. }
  8.  
  9. }
  10.  
Success #stdin #stdout 0.01s 5308KB
stdin
Standard input is empty
stdout
22069 x 1 = 22069
22069 x 2 = 44138
22069 x 3 = 66207
22069 x 4 = 88276
22069 x 5 = 110345
22069 x 6 = 132414
22069 x 7 = 154483
22069 x 8 = 176552
22069 x 9 = 198621
22069 x 10 = 220690