Untitled
unknown
plain_text
a year ago
488 B
10
Indexable
#include <iostream>
using namespace std;
int main()
{
int a=0;
int wynik;
cout << " |";
for (int i = 1; i <= 5; i++)
{
cout << " " << i<<"";
}
cout << "\n";
cout << "==================\n";
cout << "";
for (int i = 1; i <= 5; i++)
{
cout << i<<" |";
for (int j = 1; j <= 5; j++)
{
cout << " " << i * j;
}
cout << endl;
}
}Editor is loading...
Leave a Comment