/ Math.pow line in mortgage calculator not working in java fundamentals

Hi ,

Please help, under the double mortgage = principal, the code / (Math.pow(1 + monthlyInterest, numberOfPayments etc is not working on my mortgage calculator. It is showing a red line meaning something is wrong but I wrote it exactly the way MOSH did his.

Look forward to a reply

Could you perhaps copy and paste your full module or a screenshot from it here?