高质量题解
2026-01-20 10:33:23
发布于:北京
3阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
// 完成判定是否是两位数的函数 调用函数解题
bool check(int x) {
if(x < 100 && x >= 10){
return true;
}else{
return false;
}
}
int main() {
int n;
cin >> n;
if(check(n)){
cout << "yes";
}else{
cout << "no";
}
return 0;
}
这里空空如也







有帮助,赞一个