[Solved] if (validBeverage == true) were to be replced with (validBeverage) does it change the logic of the code? if yes why or whynot?



if (validBeverage == true) were to be replced with (validBeverage) does it change the logic of the code? if yes why or whynot?

solved if (validBeverage == true) were to be replced with (validBeverage) does it change the logic of the code? if yes why or whynot?