|
|
#include<iostream> using namespace std; int main() { int size[2][2]; cout<<"Enter 4 value, press enter after each value : "; cin >> size[0][0] >> size[0][1]; cin >> size[1][0] >> size[1][1]; cout << "You have enter : "; for (int i=0; i<2; i++) { for (int j=0; j<2; j++) { cout << "array[" << i; cout << "][" << j ; cout << "] : "; cout << size[i][j] << endl; } } cin >> size[1][0] >> size[1][1]; return 0; } |
|
|
|
|
|
|
|
|
|
|