Commit ab5cb79e authored by Narek's avatar Narek

exercise_07_09 v3

parent 1e88c556
......@@ -41,12 +41,13 @@ k) int t[3][4] = {{9, 3, 4, 6}, {8, 9, 5, 1}, {6, 7, 3, 4}},min = t[0][0] ;
}
std::cout << min << std::endl;
l) std::cout << a[0][0] << a[0][1] << a[0][2] << a[0][3] << std::endl;
l) for (int i = 0; i < 3; ++i) {
std::cout << a[0][i] << std::endl;
}
m) int sum = 0, t[3][4];
for (int i = 0; i < 3; ++i) {
for (int j = 3; j < 4; ++j) {
sum += t[i][j];
sum += t[i][3];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment