Counting With a Prefix Increment
#include <iostream> using namespace std; // Counting loop example. int main() { int cnt; cout << "How many? "; cin >> cnt; while(--cnt) cout << "cnt = " << cnt << endl; }

How does this verion behave differently?