0

What's wrong with the code that's on my profile which named ticket seller? it allows me to put just the first letter of my name

it allows me to put just the first letter of my name.. if I write full name sth goes wrong!! What's wrong?? https://code.sololearn.com/c4xYLuiu0CAQ/?ref=app

1st May 2018, 6:27 PM
Jelaleddin
3 Answers
+ 1
The problem is that the data type "char" can only hold one character. Ise String instead.
1st May 2018, 6:30 PM
Jonas Schröter
Jonas Schröter - avatar
+ 1
Jonas, thanks a lot :-))))
1st May 2018, 7:37 PM
Jelaleddin
0
No problem
1st May 2018, 7:40 PM
Jonas Schröter
Jonas Schröter - avatar