Untitled
unknown
plain_text
2 years ago
557 B
4
Indexable
#include <iostream> using namespace std; int main() { int mas[10][10]; for (int i = 0; i < 10; i++) { for (int j = 0; j < 10; j++) { mas[i][j] = (i + 1) * (j + 1); if ((i + 1) * (j + 1) < 10) cout << " "; if ((i + 1) * (j + 1) < 100 && (i + 1) * (j + 1) >= 10) cout << " "; if ((i + 1) * (j + 1) == 100) cout << " "; cout << mas[i][j]; } cout << endl << endl; } return 0; }
Editor is loading...
Leave a Comment