Untitled

 avatar
user_5811307
plain_text
2 years ago
517 B
5
Indexable
#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);
}
Editor is loading...
Leave a Comment