Advertisement
zfhridoy47

loop_problem_9

Jun 25th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.15 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.  
  5. int n,i;
  6.  scanf("%d",&n);
  7.  i=1;
  8.  while(i<=10)
  9.  {
  10.      printf("%d X %d = %d\n",n,i,n*i);
  11.      i++;
  12.  }
  13.  return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement