#include using namespace std; // Counting loop example. int main() { int cnt; cout << "How many? "; cin >> cnt; for(int i = cnt; i--; ) { cout << "cnt = " << i << endl; } }