How to escape while loop by typing a certain string ( words ). Basically I'm trying to create a program that operates similar to a computer login process and the loop asks to enter name and password. However if I want to exit the loop I type a certain word which allows me to exit the loop. If that specific word isn't type then the loop continues
Tried using != Operator but doesn't work