Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Replies
    38
    Views
    2,697

    Re: Monthly mortgage payment calculator

    Glad you are making progress.
  2. Replies
    38
    Views
    2,697

    Re: Monthly mortgage payment calculator

    Sorry, if you didn't find someone to do your work for you. I thought you were interested in learning programming techniques. Among those techniques is debugging. That's what I've been suggesting...
  3. Replies
    38
    Views
    2,697

    Re: Monthly mortgage payment calculator

    Start on the inside and work out: aIR/12, Math.pow()
  4. Replies
    38
    Views
    2,697

    Re: Monthly mortgage payment calculator

    There aren't an infinite number of subexpressions so I expect you can do it in a few minutes.

    You need to verify that all the subexpressions are working correctly.
  5. Replies
    38
    Views
    2,697

    Re: Monthly mortgage payment calculator

    You need to find where the error is in that compound expression.
  6. Replies
    38
    Views
    2,697

    Re: Monthly mortgage payment calculator

    You need to continue breaking the compound expressions down into single expressions and printing their values.
  7. Replies
    38
    Views
    2,697

    Re: Monthly mortgage payment calculator

    Can you post the code for "the bottom" expression and the value it returned?
    also print out the values of the variables used in "the bottom" expression.
  8. Replies
    38
    Views
    2,697

    Re: Monthly mortgage payment calculator

    Which expression returns the wrong value? and what value does it return?
  9. Replies
    38
    Views
    2,697

    Re: Monthly mortgage payment calculator

    Which ones were wrong?
    What are the the correct values?

    Which simple, single expression computed the wrong value?
  10. Replies
    38
    Views
    2,697

    Re: Monthly mortgage payment calculator

    When you look at the values that were printed out, were they correct?
  11. Replies
    38
    Views
    2,697

    Re: Monthly mortgage payment calculator

    Yes, that is exactly what I'm saying.
  12. Replies
    38
    Views
    2,697

    Re: Monthly mortgage payment calculator

    Did you do what I suggested to find the problem? I don't see it in the posted code.

    Try debugging the code by breaking the compound expression up into separate single expressions and printing the...
  13. Replies
    38
    Views
    2,697

    Re: Monthly mortgage payment calculator

    Try debugging the code by breaking the compound expression up into separate single expressions and printing the results of each. The print out should show you where the code is going wrong.
  14. Replies
    38
    Views
    2,697

    Re: Monthly mortgage payment calculator

    Try debugging the code by breaking the compound expression up into separate single expressions and printing the results of each. The print out should show you where the code is going wrong.
Results 1 to 14 of 14