I tried that and it's still not pulling the user input
{
// Class Level Variables (Data Fields / Properties)
public static double principalAmount;
public static double interestRate;...
Type: Posts; User: 07.350
I tried that and it's still not pulling the user input
{
// Class Level Variables (Data Fields / Properties)
public static double principalAmount;
public static double interestRate;...
I'm just confused on how to write the getter method..
I think I have it, except when the program compiles I am just getting 0.0 for the output. The current output is doing
Enter Loan Amount: 12
Enter Yearly Interest Rate (1 to 100 percent): 23...
Here's what I have, hopefully this works.
InterestCalculator class
public class InterestCalculator7
{
// Class Level Variables (Data Fields / Properties)
public double principalAmount;...
The current output looks like this
Enter Loan Amount: 10
Enter Yearly Interest Rate (1 to 100 percent): 10
Enter the Term (in months): 10
Enter Interest Calculation Type (1 – Simple, 2 –...
This is the correct output is supposed to be
Enter loan amount: 1375
Enter yearly interest rate (0 to 100 percent): 1.175
Enter the term in number of months: 7
Enter Interest Calculation Type...
I'm making a program and I can't get it to display the results properly in the displayInterest method in the InterestCalculatorTest class.
InterestCalculator7 Class
public class...