Let’s correct the print mode for all pages.
- Replace the initial value of the variable
- Replace “less than” with “less than or equals to” in the loop condition.
- To make sure that everything works, set the variable
5. You should get five pages, starting with the first.