What did I do wrong

l
Last edited on
1
2
void menu(){
int choice;

What is this meant to be?

int main();
What is this meant to be?


It looks like you need to revise how to write a function.
I was trying to make that a global variable but I'm not quite sure how to do it.
You can't make void menu() a global variable. It's a function.

Don't use global variables.
Topic archived. No new replies allowed.