Q. What’s wrong? for (int k = 2, k <=12, k++) (Solved)

1. the increment should always be ++k

2. the variable must always be the letter i when using a for loop

3. there should be a semicolon at the end of the statement

4. the commas should be semicolons

  • b. the variable must always be the letter i when using a for loop
Subscribe Now

Get All Updates & News