Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main(){
- int baris, kolom;
- cin >> baris >> kolom;
- int matriks[baris][kolom];
- for (int i = 0; i < baris; i++)
- {
- for (int j = 0; j < kolom; j++)
- {
- cin >> matriks[i][j];
- }
- }
- for (int i = 0; i < baris; i++)
- {
- for (int j = 0; j < kolom; j++)
- {
- cout << matriks[i][j];
- }
- cout << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement