本页面包含阶段测试4道选择题、3道编程题、课后拓展5关、代码填空4关的完整答案与家长辅导建议。
请输入本讲访问密码:
课程辅导解析(家长端) · 含阶段测试试题、拓展、代码填空答案
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
cout << n % 10 << " " << n / 10 % 10 << " " << n / 100;
// 输入 367 → 输出 7 6 3
return 0;
}
#include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
if (x % 13 == 0) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
}
#include <iostream>
using namespace std;
int main() {
int chengji;
cin >> chengji;
if (chengji >= 80) cout << "A";
else if (chengji >= 60) cout << "B";
else cout << "C";
return 0;
}
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
cout << n % 10 << " " << n / 10 % 10 << " " << n / 100;
return 0;
}
#include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
if (x % 13 == 0) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
}
#include <iostream>
using namespace std;
int main() {
int chengji;
cin >> chengji;
if (chengji >= 80) cout << "A";
else if (chengji >= 60) cout << "B";
else cout << "C";
return 0;
}
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a << "+" << b << "=" << a + b;
return 0;
}