Tutorials
THE WORLD'S LARGEST WEB DEVELOPER SITE

Exercise:

Make the loop start counting from 5. Count up to (including) 50 and count only every fifth number.

Hint: Change the counter variable to 5, run the loop as long as i is less than or equal to 50, and change i++ to i = i + 5.