So we just started learning loops and were give an assignment. The instructor started us out with a few lines of code and I was able to figure it out with what he'd given us, but he started it with a "for" loop. I've used do-while loops in a few excersises but can't seem to figure out how to apply it to this. While it isn't necessary that I use a do-while loop for the assignment I'd really like to learn. Any hints or a point in the right direction would be sweet.
if (numExercises > 0)
{
int i = 1;
do {
cout << "Score received for Exercise " << i << " ";
int score;
cin >> score;
totalScore += score;
cout << "Total points possible for Exercise " << i << " ";
int points;
cin >> points;
pointsPossible += points;
} while (++i <= numExercises);
}