what im trying to do is go to another function, that the user enters..
after " printf ("your choice is %s", choice);"Code:#include <stdio.h>
char choice[4];
int main() {
printf ("enter a choice: ") ;
scanf ("%s", choice);
printf ("your choice is %s", choice);
}
i want it to go to a function named after the variable choice...
for example if they enter math, i want it to go to the "math" function.
how would i do this , without a IF statement?