问题标题: 1322

0
0

0
已采纳
颜咏春
颜咏春
中级光能
中级光能
float j;
    cin>>j;
    if(j<100&&j>=10)
    {
        cout<<"1";
    }
    else
    {
        cout<<"0";
    }
0
臧启亚
臧启亚
初级光能
初级光能

核心代码

cin >> s;
        if (s<100 and s>9) cout<<"1"<<endl;
            else cout<<"0"<<endl;

 

0
张月柔
张月柔
初级守护
初级守护
{
    var
    a:longint;
    begin
    readln(a);
    if (a>=10)and(a<=99) then write('1')
    else write('0');
    endl
}

 

0
梁锦程
梁锦程
高级光能
高级光能
if (s<100 and s>9)
    cout<<"1"<<endl;
else cout<<"0"<<endl;

 

0
蒋智航
蒋智航
高级天翼
高级天翼
 if (a>=10)and(a<=99) then write('1')
    else write('0');

 

0
蒋智航
蒋智航
高级天翼
高级天翼

感觉不禁掉的花,挺好

能采纳吗

我想早点上启示者。

0
0
朱智霖
朱智霖
新手守护
新手守护

var
    a:longint;
begin
    readln(a);
    if (a>=10)and(a<=99) then write('1')
    else write('0');
end.

我要回答