Beginners question on loops

When I execute the following, I get two cout statements when all I want is 1 statement telling my how many stuffed animals I've won(using 400 coupons as the initial cin). What can I change to just have 1 statement answering how many I've won?

#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
int coup = 0;
int ani = 0;
int pis = 0;
int rox = 0;
int jew = 0;

cout << "How many coupons has the customer earned? ";
cin >> coup;
while (coup >= 200)
{
coup = coup - 200;
ani++;
cout << "You have won " << ani << " stuffed animal(s)." << endl;
}
system("PAUSE");
return EXIT_SUCCESS;
}
Currently you have the statement inside the loop (thus it will be run every loop). Where would do you could move it to make it run only once? Hint: Look at your other cout statement.
Thanks...seems so simple. Like I said, just learning this. Appreciate your help!
Topic archived. No new replies allowed.