#include<iostream>
int main()
{
using namespace std;
cout << "Enter the starting countdown value:";
int limit;
cin >> limit;
int i;
for(i = limit;i;i--)
cout << "i = " << i << "\n";
cout << "Done now that i = " << i << "\n";
return 0
}
Sample 5.2:num_test.cpp
最新推荐文章于 2019-05-05 23:42:00 发布