Search:

Type: Posts; User: 07.350

Search: Search took 0.10 seconds.

  1. Thread: Object help

    by 07.350
    Replies
    16
    Views
    1,742

    Re: Object help

    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;...
  2. Thread: Object help

    by 07.350
    Replies
    16
    Views
    1,742

    Re: Object help

    I'm just confused on how to write the getter method..
  3. Thread: Object help

    by 07.350
    Replies
    16
    Views
    1,742

    Re: Object help

    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...
  4. Thread: Object help

    by 07.350
    Replies
    16
    Views
    1,742

    Re: Object help

    Here's what I have, hopefully this works.

    InterestCalculator class


    public class InterestCalculator7
    {
    // Class Level Variables (Data Fields / Properties)
    public double principalAmount;...
  5. Thread: Object help

    by 07.350
    Replies
    16
    Views
    1,742

    Re: Object help

    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 –...
  6. Thread: Object help

    by 07.350
    Replies
    16
    Views
    1,742

    Re: Object help

    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...
  7. Thread: Object help

    by 07.350
    Replies
    16
    Views
    1,742

    Object help

    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...
Results 1 to 7 of 8