Question No. 2
The three things inside the for loop are separated
by
1colon
2semicolon
3comma
4 hyphen
Answers
Answered by
3
Answer:
semicolon
please mark as brainliest
Answered by
0
Title:
For loop
Explanation:
- The three things inside the for loop are separated by Semicolon.
- We know that there will be three different operations done inside the for syntax.
- First initialization process is done where we the initialize from which value the loop has to begin.
- And we need to give a semicolon to do the next operation.
- Second of all, we need to give the condition for the for loop where the loop will be performed until the condition fails.
- Third part of the for loop is increment or decrement where the values will be increased or decreased.
- Each and every part of the for loop will be separated by a semicolon since it is the syntax of for loop.
Similar questions