/in/foo.c: In function 'main':
/in/foo.c:5:7: warning: comparison of constant '10000000' with boolean expression is always true [-Wbool-compare]
5 | 3<=n<=10000000;
| ^~
/in/foo.c:5:4: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
5 | 3<=n<=10000000;
| ~^~~
/in/foo.c:5:3: warning: statement with no effect [-Wunused-value]
5 | 3<=n<=10000000;
| ^
/in/foo.c:6:4: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
6 | 2<i<n;
| ~^~
/in/foo.c:6:6: warning: statement with no effect [-Wunused-value]
6 | 2<i<n;
| ~~~^~
/in/foo.c:6:4: warning: 'i' is used uninitialized [-Wuninitialized]
6 | 2<i<n;
| ~^~
/in/foo.c:4:9: note: 'i' was declared here
4 | { int n,i;
| ^
/in/foo.c:8:13: warning: 'n' is used uninitialized [-Wuninitialized]
8 | if(n%i==0)
| ~^~
/in/foo.c:4:7: note: 'n' was declared here
4 | { int n,i;
| ^