Advertisement
sheredega

Task #8

Dec 10th, 2022
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.     cout << "× | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10\n";
  6.     for (int i = 1; i <= 10; i++) {
  7.         cout << i;
  8.         for (int j = 1; j <= 10; j++) {
  9.             cout << " | " << i * j;
  10.         }
  11.         cout << endl;
  12.     }
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement