7) const int N = 5;
int A[N];
for (int i = 0; i < N; i++) {
A[i] *= 2;
}
8)
а) 1 4 9 16 25
б) 2 3 4 5 5
в) 1 1 2 3 4
г) 1 1 2 3 4
д) 1 2 3 4 5
е) 1 2 4 8 16
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
7) const int N = 5;
int A[N];
for (int i = 0; i < N; i++) {
A[i] *= 2;
}
8)
а) 1 4 9 16 25
б) 2 3 4 5 5
в) 1 1 2 3 4
г) 1 1 2 3 4
д) 1 2 3 4 5
е) 1 2 4 8 16