0_0_21583723_1850.cpp: In function 'int main()': 0_0_21583723_1850.cpp:45:13: error: expected ';' before 'scanf' scanf("%d", &d); ^