-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathP.cpp
More file actions
39 lines (38 loc) · 840 Bytes
/
Copy pathP.cpp
File metadata and controls
39 lines (38 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include <iostream>
using namespace std;
int main()
{
int a = 0, b = 0;
cin >> a >> b;
if (a >= 99){
if (b >= 132){
cout << "[message] a >= 99 && b >= 132"
<< "\n";
}
else{
cout << "[message] b < 132 && a >= 99."
<< "\n";
}
}
else if(a>=0){
if (b >= 132){
cout << "[message] 0 <= a < 99 && b >= 132"
<< "\n";
}
else{
cout << "[message] b < 132 && 0 <= a < 99."
<< "\n";
}
}
else{
if(b>=132){
cout << "[message] a<0 && b>=132"
<<"\n";
}
else{
cout << "[message] b < 132 && a < 0."
<< "\n";
}
}
return 0;
}