I only had the "savings" variable declared in the second block of code before, so when I called the objects from the other class within my switch I couldn't use it as the parameter. I put another...
Type: Posts; User: IkeIII
I only had the "savings" variable declared in the second block of code before, so when I called the objects from the other class within my switch I couldn't use it as the parameter. I put another...
Okay, so I have a lot more written now. I'm still having trouble with the first part accessing the second. I have added the obj to access it, but I keep getting error messages for my variable so I...
I have an assignment to make a program that will use classes and objects to set up a piggy bank system.
It should have a separate class that contains all of the actual calculations. I've been...