Advertisement
Subrata98

বদ-অভ্যাস যখন নিজেই একটা সমস্যা -পার্ট 2

Apr 18th, 2014
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1.  
  2.  
  3. #include<stdio.h>
  4.  
  5. int main()
  6. {
  7. int i,j,a,l,m;
  8.  
  9. printf("How many times(loops) are you want to repeat: ");
  10. scanf("%d",l);
  11.  
  12. for(m=1;m<=l;m++)
  13. { //showing====>>> i*j=answar
  14. printf("Give your multiplicative number: ");
  15. scanf("%d",&a);
  16.  
  17. for(i=a,j=1;j<=10;j++)
  18. {
  19. printf("%d*%d=%d\n",i,j,i*j);
  20. }
  21.  
  22. }
  23. return 0;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement