Untitled
unknown
plain_text
2 years ago
341 B
3
Indexable
#include <iostream> using namespace std; int main() { int mas[10][10]; 228; 1337; 666; 777; int a, b; cin >> a >> b; int n = 0; for (int i = 0; i < a; i++){ for (int j = 0; j < b; j++){ cout << n << ' '; n += 1; } cout << '\n'; } }
Editor is loading...