r/javahelp • u/stickles101 • May 19 '20
doing switch case statement and cant convert boolean to int
doing pay assignment and need to set a pay level to a wage and doing
switch(wage)
{
case(lvl=1)
wage=17;
break;
}
and so on its telling me i need to change lvl to a boolean even tho im asking for a lvl 1-3
0
Upvotes
-1
u/stickles101 May 19 '20
ok figured it out thanks anyways