/in/foo.cc: In function 'int main()':
/in/foo.cc:10:15: warning: comparison of constant '1000' with boolean expression is always true [-Wbool-compare]
10 | else if(500<=m<1000)
| ~~~~~~^~~~~
/in/foo.cc:10:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
10 | else if(500<=m<1000)
| ~~~^~~
/in/foo.cc:12:16: warning: comparison of constant '1500' with boolean expression is always true [-Wbool-compare]
12 | else if(1000<=m<1500)
| ~~~~~~~^~~~~
/in/foo.cc:12:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
12 | else if(1000<=m<1500)
| ~~~~^~~
/in/foo.cc:14:16: warning: comparison of constant '2000' with boolean expression is always true [-Wbool-compare]
14 | else if(1500<=m<2000)
| ~~~~~~~^~~~~
/in/foo.cc:14:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
14 | else if(1500<=m<2000)
| ~~~~^~~
/in/foo.cc:16:11: warning: statement has no effect [-Wunused-value]
16 | else (2000<=m);
| ~~~~~^~~~