Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
7.009 Done
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinNitroG committed Oct 26, 2023
1 parent eb7509f commit 45de9f4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Problem_007/7_009.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,26 @@ using namespace std;

int main()
{
float a[100][100];
float b[100][100];
int m, n, k, l;
cin >> m >> n;

for (int i = 0; i < m; i++)
for (int j = 0; j < n; j++)
cin >> a[i][j];

cin >> k >> l;
for (int i = 0; i < k; i++)
for (int j = 0; j < l; j++)
cin >> b[i][j];

for (int i = 0; i < m; i++)
{
for (int j = 0; j < n; j++)
cout << a[i][j] + b[i][j] << " ";
cout << endl;
}

return 0;
}

0 comments on commit 45de9f4

Please sign in to comment.