0_0_27567319_3737.cpp: In function 'int main()': 0_0_27567319_3737.cpp:4:20: error: 'n' was not declared in this scope while(scanf("%d",&n)&&n){ ^