- int n,a,k;
- cin >> n;
- a = 0;
- k = n;
- while (n > 0){
- a = __________; // 在此处填写代码
- n /= 10;
- }
- if (a == k)
- cout << "是回文数";
- else
- cout << "不是回文数";
A. 10 * a + n % 10
B. a + n % 10
C. 10 * a + n / 10
D. a + n / 10
- int n,a,k;
- cin >> n;
- a = 0;
- k = n;
- while (n > 0){
- a = __________; // 在此处填写代码
- n /= 10;
- }
- if (a == k)
- cout << "是回文数";
- else
- cout << "不是回文数";
Scratch3.0 全国青少年软件编程等级考试 Python Scratch图形化一级 Scratch图形化四级 Scratch图形化三级 Scratch图形化二级 电子学会