Search:

Type: Posts; User: Staticity

Search: Search took 0.08 seconds.

  1. Replies
    8
    Views
    1,505

    Re: Whats wrong with my code?

    You need the interest variable within the While loop in order to prevent the loop from looping infinitely. Your monthlyPay equation is not correct if it's not producing the correct Monthly Pay value...
  2. Replies
    8
    Views
    1,505

    Re: Whats wrong with my code?

    Your monthlyPay equation returns "interest*10000". Follow the equation in your book, I am sure you had some sort of Syntax Error involved with your first equation. This second equation is very hard...
  3. Replies
    8
    Views
    1,505

    Re: Whats wrong with my code?

    Let's start by comparing your output values to the actual answer. So input the same numbers as the example into your equation, and list the values.

    So reply like this:

    Correct Output:
    1
    2
    3...
  4. Replies
    8
    Views
    1,505

    Re: Whats wrong with my code?

    Your error is arising with your "monthlyPay" equation. What is the given formula for Monthly Pay? Make sure it matches with what you wrote.
Results 1 to 4 of 4