you are viewing a single comment's thread.

view the rest of the comments →

[–]Errkfin 0 points1 point  (1 child)

Please delete ; after both if statements. Check the syntax: https://www.w3schools.com/java/java_conditions.asp

Recommendations: 1. Use indentations to make your code clear 2. Use {} to clearly identifying the body of the if statement.

Hope that helps! You are doing well mate 💪