给定对正整数n进行数位分离并逆序打印的C++程序,while循环的①处应填写什么条件?
#include<iostream>
using namespace std;
int main(){
int n;
cin >> n;
while (_①_){
int d = n % 10;
n /= 10;
cout << d << " ";
}
return 0;
}
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析