include< iostream>
#include< string>
#include< Windows.h>
using namespace std;
int main(){
int s = 0;
cout << “请输出倒计时秒数:” << endl;
cin >> s;
while (s >= 0) {
Sleep(1000);
cout << s << ” “;
s–;
}
cout << "计时结束" << endl;
return 0;
}