Following examples and threads of previous inquiries I find myself asking two primary things
1. Why when I place the following code -
Break;//break the string
at the end of my while statement that reads
while(!name.toLowerCase().equals("stop")); //begin while control statement
end = true; //end if condition is true, counter initiated to -1
do I receive the error message that break is outside of switch or loop? Where else might I place this so it would be within the loop?
Secondarily, I am being told that the following statement is an empty statement. Can someone explain what this signifies?
while (end == false);//condition is false, proceed