- 关系运算实验
关系运算实验
- 2023-7-25 16:15:39 @
#include <bits/stdc++.h>
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);
return 0;
2 comments
-
曾晞宸 LV 6 @ 2023-7-26 14:27:04
1234678990-
-
2023-7-26 14:22:27@
sb 全是错的
- 1
Information
- ID
- 39
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 6
- Tags
- # Submissions
- 267
- Accepted
- 47
- Uploaded By