I have 4 errors on this program and I cannot get it to compile, what is wrong?


One Response to “I have 4 errors on this program and I cannot get it to compile, what is wrong?”

  1. Arpita says:

    Error 1: longTerm is array.. Math.pow don’t take array as parameter
    monthlyPay = loanAmt * intRate[i]/(1- Math.pow(1+ intRate[i],-loanTerm[i]));

    Error 2 gap between > and =
    if (i >= 0)

    Error 3 There are not operator like —–
    monthNum–;

    Error 4 catch statement show define block.. cannot end with semicolon
    catch (InterruptedException e) { }

Leave a Reply

*


Celebrity Sex Tapes | Kim Kardashian Sex Tape