my latest programming assignment has us writing several small programs and putting them all into one .c file selectable from a main menu. i've got everything done except the menu. i want the menu to come up, scanf for a choice, and then use if statements to call the proper function, but i can't find the syntax anywhere for doing this, and
if (mode == 1) {double arithGame(int max, int quantity, int op);}
doesn't do anything. should i be using goto? because i've never used that. what am i doing wrong here?
if (mode == 1) {double arithGame(int max, int quantity, int op);}
doesn't do anything. should i be using goto? because i've never used that. what am i doing wrong here?