17.9k views
1 vote
How to use a while loop in pascal for 36 students

1 Answer

3 votes
To use a loop in pascal

The initial step is executed first and only.This step allows you to declare and initialize any loop control variables.

Next the conditions is evaluated.

After the body of the for-do loop executes the value of the variable is either increased or decreased.

The condition is now evaluated again.
User Buzkall
by
3.8k points