0

¿Why if i put "Pablo" and i run the code appear "Noo" and not "A"as i want?

I'm a begginer someone could help me? https://code.sololearn.com/cAnwJdm4qzl0/?ref=app

24th May 2020, 6:04 AM
Pablo
Pablo - avatar
2 ответов
+ 1
This is typical beginner error - using == for strings. Try a.equals("Pablo")
24th May 2020, 6:08 AM
Igor Kostrikin
Igor Kostrikin - avatar
0
Thanks you so much bro!!
24th May 2020, 6:17 AM
Pablo
Pablo - avatar