0_0_38873484_6735.cpp: In function 'int main()': 0_0_38873484_6735.cpp:5:23: error: 'n' was not declared in this scope 5 | while(scanf("%d",&n)!=EOF) | ^