Advertisement
MeehoweCK

Untitled

Aug 10th, 2021
933
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.42 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     cout << "\t\t";
  8.     for(int i = 1; i <= 10; ++i)
  9.         cout << i << '\t';
  10.     cout << endl;
  11.     for(int i = 0; i < 100; ++i)
  12.         cout << '_';
  13.     cout << endl;
  14.     for(int i = 1; i <= 10; ++i)
  15.     {
  16.         cout << i << "\t|\t";
  17.         for(int j = 1; j <= 10; ++j)
  18.             cout << i * j << '\t';
  19.         cout << endl;
  20.     }
  21.     return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement