I am trying to create an array of size "n" where n is to be determined halfway through the program (after various data is entered and the result calculated).
I have defined the two variables as:
but I get an error message each time I try and build the program.
I'm relatively new to C so please don't use too technical language.
Thank you in advance for your help!