/in/foo.cc: In function 'int main()':
/in/foo.cc:13:15: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
13 | else if (n>=1500&n<2000)
| ~^~~~~~
/in/foo.cc:17:15: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
17 | else if (n>=1000&n<1500)
| ~^~~~~~
/in/foo.cc:20:15: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
20 | else if (n>=500&n<1000)
| ~^~~~~
/in/foo.cc:25:11: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
25 | printf("%.2f",m);
| ~~~~~~^~~~~~~~~~
/in/foo.cc:8:13: note: 'm' was declared here
8 | float n,m;
| ^