This document provides examples of while and for loops to practice in C++. It includes examples of using while loops to ask a user to enter 10 names, enter names until "xx" is entered, and print numbers from 50 to 100. It also includes using for loops to print the sum of numbers from 40 to 80, print numbers from 15 to 25, print numbers descending from 25 to 1, and print the numbers 5 to 50 in increments of 5. Finally, it suggests using do-while loops to enter and average 10 grades or any number of grades entered by the user.