Advertisement
Sabbir-bin

multipication table

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