I'm a newbie have one problem (just kidding i have a lot more)


Hello so i have a little problem (but for me this problem is big deal)
Some photos:

So you can see that when i write my name its always says that Please enter a name. I can understand that first if i write something i should get "Hello my friend.", but i dont get it. Can you say what is wrong with this code.

And sorry for a little bit bad english. :wink:


What's the length of an empty string?

Try assigning what the user entered to a variable and then test if the value of that variable has a length greater than zero.