while ((mFood != "Y") || (mFood != "N"))
{
mFood = User.inputStrin g("ENTER Y for food or N for no food");
}
well i think the code should say what i want to do
when i uinput Y i want the loop to end, same if i input N
but the loop isnt ending
help
{
mFood = User.inputStrin g("ENTER Y for food or N for no food");
}
well i think the code should say what i want to do
when i uinput Y i want the loop to end, same if i input N
but the loop isnt ending
help
Comment