0_0_27108232_22151.cpp: In function 'int main()': 0_0_27108232_22151.cpp:5:14: error: 'n' was not declared in this scope scanf("%d",&n); ^