#include <iostream>
using std::cin;
using std::cout;
using std::endl;
int main() {
int start = 10;
while (start >= 0) {
cout << "current number is " << start << endl;
--start;
}
}
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
int main() {
int start = 10;
while (start >= 0) {
cout << "current number is " << start << endl;
--start;
}
}
本文标题:[C++ Primer] 练习1.10
本文链接:https://www.haomeiwen.com/subject/mnzkwttx.html
网友评论