0_0_30489941_19514.cpp: In function 'int main()': 0_0_30489941_19514.cpp:7:4: error: expected ';' before 'scanf' scanf("%d",&n); ^