A for loop looks like this for(int x=0; x<=10;x++) this is an example
1. Initialization is the initial condition which is executed once when the loop starts. Here, we can initialize the variable, or we can use an already initialized variable. It is an optional condition. int x=0 because that's the starting value
2. A condition must be met in order for the for loop to work. for example x<=10.
3. The last an incrementation/decrementation x++ or x--
The output 1,2,3,4,5,6,7,8,9,10
For loops makes you're coding more efficient and makes it more organized.