The WHILE loop checks the condition before each iteration, so if the condition is not met initially, the loop will not execute at all. On the other hand, the REPEAT loop (or DO...WHILE loop) checks the condition after executing the loop's body, ensuring that the loop runs at least once regardless of the condition.
A REPEAT loop iterates until a condition is true. In a REPEAT loop, the condition is tested immediately after executing the body of the loop. As a result, the body of the loop always executes at least once.
A WHILE loop iterates while a condition is true. In a WHILE loop, the condition is tested immediately before executing the body of the loop. If the condition is false before the first iteration, then the body of the loop does not execute even once.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
MultiCloudIronMan
6 months agoguau
10 months, 1 week agoexamtopics_strata
1 year, 6 months agoHighBMI
1 year, 7 months agoKnightVictor
1 year, 7 months agoKvk117
1 year, 8 months agochuks_charley
1 year, 8 months ago