For Loop Example 1
for(int x = 1; x <= 10; x+=1) {
runnerLog(x);
}
Use this method when you are not looping through an array of values but some finite number.
Peacock
for(int x = 1; x <= 10; x+=1) {
runnerLog(x);
}
Use this method when you are not looping through an array of values but some finite number.