Quote:
|
Originally Posted by dm0ney
SellStock should not be a public class, only class. You cannot have two public classes declared in the same file.
Next, missing a semicolon on in the addValue() function.
Finally, getProceeds in println is a function so getProceeds()
I'll check for logic errors next, but those are the syntax.
Hope that helps.
|
yeah thanks alreayd better off then when I started. Sorry I didnt make my self clear before that is two seperate files, 1 is for the actual calculations then the second is where I put in the data to compute and print out.