// num_test.cpp -- use numeric test in for loop #include int main() { using namespace std; cout << "Enter the starting countdown value: "; int limit; cin >> limit; int i; for (i = limit; i; i--) // quits when i is 0 cout << "i = " << i << "\n"; cout << "Done now that i = " << i << "\n"; // cin.get(); // cin.get(); return 0; }