Untitled

 avatar
user_5811307
plain_text
7 months ago
517 B
2
Indexable
Never
#include <iostream>
using namespace std;
int main()
{
    for (int i = 0; i < 31; i++) cout  << "-";
    cout << endl;
    
    for (int i =1; i < 11; i++)
    {
        cout  << "|";
        for (int a =1; a < 11; a++)
        {
            cout << a * i;
            if (a*i < 10)cout  << " ";
            if (a == 10) cout  << "|";
            else
                cout  << "|";
        }
        cout << endl;
        for (int i = 0; i < 31; i++) cout  << "-";
        cout << endl;
    }
    cout << char(197);
}
Leave a Comment