Parse Issue?

I'm almost finished coding the last of my C program on stock inventory
but in the last two functions (one being my main function and the other a void function)
the compiler gives an error stating that there a Parse Issue
and that an expected identifier or "(" is missing in main.c

..
I've already opened and closed my functions with '{, }' and this errpr doesnt exist in my other functions
any idea on what the error could be?

One way to debug this is to delete some blocks of the code and recompile. If the error still exists, put back the deleted blocks and delete the next set of code blocks. Recompile agian. If the error still persist, keep doing it until it compiles. Then the deleted blocks contain the error. Now, narrow it down by delete a smaller chunk of the code.

PS: Are you sure that you declare line 1 correctly? Why do you have a semi-colon and then the following line starts with an open curly bracket? Maybe this is C syntax???

You have misunderstood the difference between declaring a function and actually writing it.

This

int somefunction();

declares the existence of a function, named somefunction. Note that semi-colon.

This

int somefunction()
{
// function code in here
int x;
return x;
}

is the actual function. There is no semi-colon on the first line.

So in your code, you declare the existence of a function named Final, and you declare the existence of a function named main, but you never write those functions. You do, however, put in lots of code that isn't part of those functions.

Long story short - you've got your semi-colons wrong. Go back and double-check how to declare (prototype) functions and how to actually write (define) them. Lines 1, 24, 29.

Also, you seem to be trying to write the function menu (line 29 onwards) inside another function (the function named main). You cannot do this. You cannot write functions inside other functions.

Also, are you trying to call the function menu from inside the function menu (line 41)? This is a really bad idea here. This function has no business being recursive, and since this section is inside a while loop that will keep going round until the user enters a correct value, makes no sense at all here.