it is going to go through the first loop 5 times- the second loop is going to go through 1 -> 5 times and it will print a star pattern
I don't know why they start on 1, usually for loops are started on 0... if you ever get confused in a for loop w/ the <= crap, it is the same as the number on the right + 1 and a <... eg
Code:
for(int i=0; i <=4; i++){
loop will hit 5 times
}
this is the same as
for(int i=0; i<5; i++){
loop will hit 5 times
}