Hello, iam a student who is currently studying for an FD in IT,

I need a bit of help with my java assignment and as it is a mortgage calculator i am developing, maths is not my strongest subject

I have been trying to find out how to take in a value via my GUI of £1000, and print the answer to this sum out to a label:

*LA = Loan Amount
If LA <= 1000
Then add interest rate of 0.97
Else*

Add interest rate of 0.77

Store answer in Variable

ALL HELP WILL BE MUCH WELCOME

Thanks steve