0_0_20984174_29904.cpp: In function 'int main()': 0_0_20984174_29904.cpp:30:2: error: expected ';' before 'scanf' scanf("%d",&t); ^