Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- double a[4][4];
- for (int i = 0; i < 4; i++) {
- for (int j = 0; j < 4; j++) {
- cout << "Enter a[" << i << "][" << j << "]: ";
- cin >>a[i][j];
- }
- }
- for (int i = 0; i < 4; i++) {
- for (int j = 0; j < 4; j++) {
- cout << a[i][j] << " ";
- }
- cout << endl; // За отделяне на всеки ред по отделно
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement