Answer:
3. alpha = {1, 5, 6, 7, 5}
Explanation:
Initially, we have that:
alpha[0] = 1;
alpha[1] = 2;
alpha[2] = 3;
alpha[3] = 4;
alpha[4] = 5;
For j higher than 2, we have that:
alpha[j - 1] = alpha[j] + 2;
So
j = 3
a[2] = alpha[3]+2 = 4 + 2 = 6;
j = 4
a[3] = alpha[4]+2 = 5+2 = 7;
The correct answer is:
3. alpha = {1, 5, 6, 7, 5}
The answer that would best complete the given statement above would be option 5. The purpose of a method's postcondition is to describe the conditions that are true when the method completes. On the other hand, precondition describes the conditions that are true before the method is complete. Hope this helps.
The answer is A or C
not sure
well Its something soooooooooooooooooooooooooooooooooooooooooooooooooooooooooo