Advertisement
yoyo106

For loop multiplication

Apr 16th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.     printf("N\t10*N\t100*N\t1000*N\n");
  7.     int n;
  8.     for (n=1;n<=10;n++)
  9.         printf("%d\t%d\t%d\t%d\n",n,10*n,100*n,1000*n);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement