0_0_30209655_23212.cpp: In function 'int main()': 0_0_30209655_23212.cpp:15:3: error: expected ';' before 'scanf' scanf("%d",&n); ^