Computer Science, asked by mihikasen10, 5 months ago

when do you define the STEP value as negative?

Answers

Answered by Anonymous
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 chhavikhanna
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
Math, 1 year ago