I am new to java programming and I am trying to program, however, I am getting an error in my If Else statement. Can someone please look into it and help me.
pu
You have a condition after the else.
Try with else if
else if
https://docs.oracle.com/javase/tutorial/java/nutsandbolts/if.html