Write the head of a “while” loop that checks against the conditions that the user enters (declared as a variable userInput before the while loop head) The loop stops if the userInput is “exit” or the user does not enter anything.
Write the head of a “while” loop that checks against the conditions that the user enters (declared as a variable userInput before the while loop head) The loop stops if the userInput is “exit” or the user does not enter anything.