1 条题解

  • 0
    @ 2021-6-14 22:56:38

    C++ :

    #include <iostream>
    using namespace std;
    int main()
    {
      
      cout<<"7==5: "<<(7==5)<<endl;
      cout<<"5>4: "<<(5>4)<<endl;
      cout<<"3!=2: "<<(3!=2)<<endl;
      cout<<"6>=6: "<<(6>=6)<<endl;
      cout<<"5<5: "<<(5<5)<<endl;
    
      int a=2, b=3,c=6;
      cout<<"a==5: "<<(a==5)<<endl;
      cout<<"a*b>=c: "<<(a*b>=c)<<endl;
      cout<<"b+4>a*c: "<<(b+4>a*c)<<endl;
      cout<<"(b=2)==a: "<<((b=2)==a)<<endl;
      
    //  system("pause");
    }
    
    
    • 1

    信息

    ID
    81
    时间
    1000ms
    内存
    128MiB
    难度
    (无)
    标签
    递交数
    0
    已通过
    0
    上传者