0_0_36677348_21987.cpp: In function 'int main()': 0_0_36677348_21987.cpp:8:15: error: expected primary-expression before '%' token scanf("%d",%n); ^ 0_0_36677348_21987.cpp:10:23: error: expected ')' before ';' token scanf("%d%d",&a,&b; ^