Answer:
Start value = 10
end value = 0
step value = -2
Step-by-step explanation:
Given sequence;
10 8 6 4 2 0
In coding, many times this kind of sequence is generated using a loop.
A loop is a block of statement that is executed multiple times depending on certain conditions.
Typically, a loop contains;
i. a condition, once satisfied, is used to break out of the loop.
ii. a start value, used to begin the loop.
iii. an end value, used to end the loop.
iv. a step value, used to step from one state to the other in the loop.
In the given sequence;
i. the start value is the first value printed which is 10
ii. the end value is the last value printed which is 0
iii. the step value is the difference between any given value and the value next to it. For example, given the first value 10, the next value to it is 8. Therefore, the step value is 10 - 8 = -2