Exercice codeacademy

hi why my code bill error indicated CarLoan.java:9: error: cannot find symbol
if(loanLenght <= 0 || interestRate <= 0) {
^
symbol: variable loanLenght
location: class CarLoan
1 error ?

1 Like

Your error message says that name doesn’t exist
If you think you defined it, compare your definition with where you use it, they need to be the same

1 Like