Explanatory Question
Convert the following segment into an equivalent do- while loop.
int a, b;
for (a = 10, b = 20; b >= 10; b = b - 2) {
a++;
}
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.