0

Char printing

I want to print chat one after another, but I get these weird values when they print. What's wrong? https://code.sololearn.com/cJkgZmZSJh4s/?ref=app https://code.sololearn.com/cJkgZmZSJh4s/?ref=app

26th Apr 2020, 6:22 PM
Victor Ortiz
Victor Ortiz  - avatar
1 Resposta
+ 2
What you see is the sum of the characters ASCII Codes. 3 (51) + 1 (49) = 100. Put ""+ before it, to make sure String representations are used.
26th Apr 2020, 6:29 PM
Manu_1-9-8-5
Manu_1-9-8-5 - avatar