This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Which of the following for statements is correct?
for
for (int x = 20: x < 80: x++)
for (int j = 0; j == 80; j + 1)
for (int counter = 20; counter < 80; counter++)
Which statement can be used to exit out of the for loop?
break;
exit;
return;
You must answer all questions before checking your work.
Continue
Was this page helpful?