1 solutions

  • 0
    @ 2025-11-5 16:22:22

    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

    Information

    ID
    17733
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By