Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main()
- {
- int nums[10][10];
- int count,row,clm;
- count=0;
- for (int row=1;row<=10;row++)
- {
- for (int clm=1;clm<=10;clm++)
- {
- nums[row][clm]=row*clm;
- cout<<" "<<nums[row][clm];
- cout<<"\t";
- if (nums[row][clm]==10)
- count++;
- }
- }
- cout<<endl;
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement