Advertisement
Guest User

tangina

a guest
Dec 12th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #include<iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int nums[10][10];
  6. int count,row,clm;
  7. count=0;
  8. for (int row=1;row<=10;row++)
  9. {
  10. for (int clm=1;clm<=10;clm++)
  11. {
  12. nums[row][clm]=row*clm;
  13. cout<<" "<<nums[row][clm];
  14. cout<<"\t";
  15. if (nums[row][clm]==10)
  16. count++;
  17. }
  18. }
  19. cout<<endl;
  20. system("pause");
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement