java : conditions

4 :spades:
Conditions:
if(rank < 6)
coins += 4;
Coins:

You are shown a poker card and a condition for that card
Depending on the condition, input the value of coins you should have now, in the box

can any one help me to solve this

//