Please show an example of a String in a while loop.
Would someone show me an example of a string in a while loop please? I have no idea how so I can't show you what I really meant but this is what I actually wanted to do.
Basically what I wanted was while a user input (which is a name) is not equal to a string. So if someone enter a integer or a number, it prints out "Please enter a name. If the user enter a string, the program continues. I'm terribly sorry if I did not really explain well.