0_0_23869893_4292.cpp: In function 'int main()': 0_0_23869893_4292.cpp:24:9: error: 'A' was not declared in this scope cin>>A[i]; ^ 0_0_23869893_4292.cpp:32:8: error: 'A' was not declared in this scope if(A[i]==2)an++; ^