2<=n<=5
is not a legal Java expression, and neither is the keyword elseif
. You should use 2 <= n && n <= 5
, and else if
solved How solve error expected ; [closed]
2<=n<=5
is not a legal Java expression, and neither is the keyword elseif
. You should use 2 <= n && n <= 5
, and else if
solved How solve error expected ; [closed]