+ 1
Explain the working
i wrote a code in java and it is producing unexpected output the very first characters produced were my reaction during the execution of program https://code.sololearn.com/cmVarHpQJey0/?ref=app
5 Respostas
+ 1
When you add the chars you make a sum of their ascii code and in the loop you increment the ascii code. If you want to concatenate the chars you should use java.lang.String instead of char
+ 1
the only character that is reappearing is '?'. Probably because the program doesn't known what to print
0
thanks bodgan
0
but there are multiple similar characters , why?
0
@bodgan
tnx