Answer:
I would have to go with A
Step-by-step explanation:
It could be B, but I'm going with A because of the fact that right after the condition, there is a semicolon, whereas for the do-while loop, the semicolon comes after the )
Syntax:
// For loop
for (int i = 0; i < 10; i++)
{
// Body
}
// Do-while
int i = 0;
do
{
i++;
// Other code
} while(i < 9); // We do i < 9, because by the time we get to the condition, i = 10, because the increment happens before the condition is checked