when do you define the STEP value as negative?
Answers
Answered by
2
Answer:
In the following program, the control variable X changes by 2 every time the body of the loop gets executed. You can also assign a negative number as a step value. In this case, the value of the control variable is decreased by the step value every time the loop is executed.
hope it will help you dear ❣️
Answered by
2
Explanation:
the following program, the control variable X changes by 2 every time the body of the loop gets executed. You can also assign a negative number as a step value. In this case, the value of the control variable is decreased by the step value every time the loop is executed.
Similar questions