A
2025-07-08 10:43:44
发布于:内蒙古
3阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int isTdn(int n){//is Two-dight number
cin>>n;
if(n<10||n>99)
{
return 0;
}//排除不可能
else if(n>10||n10)
{
if(n<99||n99)
{
return 1;
}
}
}
int main()
{
int n;
if(isTdn(n)==1)
{
cout<<"yes";
}//是
else{
cout<<"no";
}//不是
return 0;
}
这里空空如也
有帮助,赞一个