You're calling System.out.println outside of a function. Either put that statement in main or the average function.
Type: Posts; User: sellingstuffyeye
You're calling System.out.println outside of a function. Either put that statement in main or the average function.
The first declaration allocates a variable "a" on the stack which points to the first element of the array on the heap. The heap has 4 spaces allocated for it. You then fill those spaces up with...