Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. #include<iostream>
  2. using namespace std;
  3.  
  4.  
  5. int main()
  6. {
  7. int i,j,k;
  8. for(j=1;j<=10;j++)
  9. {
  10. for(i=1;i<=10;i++)
  11. {
  12. k=i*j;
  13. cout<<i<<"X"<<j<<"="<<k<<"\t";
  14. }
  15. cout<<endl;
  16. }
  17.  
  18.  
  19. cout<<endl;
  20.  
  21. for(j=1;j<=10;j++)
  22. {
  23. for(i=11;i<=15;i++)
  24. {
  25. k=i*j;
  26. cout<<i<<"X"<<j<<" = "<<k<<"\t";
  27. }
  28. cout<<"\n";
  29. }
  30.  
  31. cout<<endl;
  32.  
  33. for(j=1;j<=10;j++)
  34. {
  35. for(i=16;i<=20;i++)
  36. {
  37. k=i*j;
  38. cout<<i<<"X"<<j<<" = "<<k<<"\t";
  39. }
  40. cout<<"\n";
  41. }
  42. return 0;
  43.  
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement