0_0_14998500_3705.cpp: In function 'int main()': 0_0_14998500_3705.cpp:7:30: error: 'n' was not declared in this scope while(scanf("%d%d%d",&A,&B,&n)!=EOF&&(A||B||n)){ ^