The variables I need are principal, interestRate, numberOfYears, and numberOfTimes, in the main class and they have to go through to Investment class to calculate the value. I want to display them in...
Type: Posts; User: white97
The variables I need are principal, interestRate, numberOfYears, and numberOfTimes, in the main class and they have to go through to Investment class to calculate the value. I want to display them in...
Do I create my object in the method menu3() or do I have to declare it in the main method?
All the variables have to go through my other class to be calculated into the futureValue variable. Thats what is confusing me. Here is my other class if that helps.
//This class calculates...
Okay, so I have 2 classes (Investment and Project4)
This program is designed to display 5 menu options.
The first menu option asks the user for a starting balance and an interest rate
The second...