0_0_25273685_28740.cpp: In function 'void sieve(int)': 0_0_25273685_28740.cpp:7:6: error: 'i' was not declared in this scope for(i=2;i<=n;i++) ^