Ok here is my question. How do you make subroutine things, and how do you pass the variables so you can use them in different subroutines? Ok, the following is an example that illustrates using subroutines/functions, and it is in need of variables being passed/parameters. Even though I could easily do it without the subroutines, I did it like this so I get how to do it. I made it so things need to be passed from subroutine to subroutine, main to subroutine, and subroutine to main. Could someone please copy this code and make all necessary changes (like variable passing and correct use of subroutines/functions) to make it work? Thanks, this would help me a lot and I could finally fix my awesome program.
void func1(); //Do I need to do this? Prototype?
void func2(); //Same thing...?
int aa, ab, ac;
void func1() //Function definition? Must I do this?
int x, y, z, p;
char a='hello user' // <-- Is that the right type of quotes?