0_0_31406534_3666.cpp: In function 'int main()': 0_0_31406534_3666.cpp:20:94: error: expected '}' at end of input printf("\t%d\t%d\t%s\n\n", step, mod, goodChoice(step, mod) ? "Good Choice" : "Bad Choice"); ^