Is sideCube declared and given a value before it is used?
You need to post all the code to show where those two statements are located.
Type: Posts; User: Norm
Is sideCube declared and given a value before it is used?
You need to post all the code to show where those two statements are located.
The cube_vol method is declared to take a double as an argument. The statement with the error does not have any arguments.
To fix - Add a double value as an argument to the method.