- int n,i,result;
- n = 81;
- i = 1, result = 1;
- while (i * i <= n){
- if (n % (i * i) == 0)
- result = i * i;
- i += 1;
- }
- cout << result;
A. 16
B. 36
C. 49
D. 81
- int n,i,result;
- n = 81;
- i = 1, result = 1;
- while (i * i <= n){
- if (n % (i * i) == 0)
- result = i * i;
- i += 1;
- }
- cout << result;
Scratch3.0 全国青少年软件编程等级考试 Python Scratch图形化一级 Scratch图形化四级 Scratch图形化三级 Scratch图形化二级 电子学会