using namespace std;
// Counting loop example.
cout << "How many? ";
cin >> cnt;
cout << "cnt = " << cnt << endl;
This loop also uses the counter as a test, but the
test additional performs the increment, so there
is no increment statment