Integer concatenation | Sololearn: Learn to code for FREE!


Integer concatenation

Is it impossible to get an output?like: 21 26 27 Exactly in a straight row. strings work but integer blocks me with err.

8/22/2020 10:12:29 AM

Light Yagami

3 Answers

New Answer


could you please post your code? That would help us to answer your question very much.




Convert both numbers to string Concatenate both strings into one, as this is comparatively easy Convert this concatenated string back to integer