Can you please help me with this

I’m a total beginner to JAVA and coding.

I’ve taking JAVA courses from Code With Mosh, and currently trying to build a mortgage calculator from Mosh’s lessons.

I want to know why prompt is red underlined and i can’t seem to solve this.

Thank you in advance!!

Don’t write the parameter names ("prompt:", “min:”, “max:”,…). If you see them in the videos they are displayed by the IDE to make the code more readable. They are not part of the code itself.

I see so I would need to delete “prompt:” and “min:” and “max:”?

But in the videos, Mosh prints it out so i dont understand what I need to do…

Yes, delete them and you’ll see what I meant by “hey are displayed by the IDE to make the code more readable. They are not part of the code itself.”

Okay I deleted them and saw what you meant.

Sam, Could you take a look at this please?

I dont understand why this is an illegal expression. Its a mathematical equation for calculating mortgage…

In the line 44 you terminated the statement with a semikolon.

Hey Sam,

So I ran into another problem with this saying… Can you please take a look at it when you have time? I think I deleted everything after “readNumbers” but there’s an error message because of it

Your readNumber Method has three parameters. You need to supply arguments to these when calling it.

In the line 44 you terminated the statement with a semikolon(;).

Rubix Research