9.000 because it is under 5.
I don't know which language you use those, so I assume that you use c++
for (int i = 1; i <= userNum; i++)
{
summedValue = summedValue + i;
i = i + 1;
}
Answer:
-1 and 1
Step-by-step explanation:
The answer for this problem is 2 since it is not specified whether it is adjacent to the right or adjacent to the left.
If it is adjacent to the right, the answer is:
p (k) = 2 * p(1) + 2 * k
If the is adjacent to the left, the answer is:
P (k) = 2 *p(1) +2 * (k-2)
Answer:
6 x y
Step-by-step explanation:
Expanded
Or add y 6 times
y + y + y + y + y + y