+ 1

How to put an int separated by units, within an array autimatically?

Example: int a=123; int[] array= {1,2,3} But automatically, just giving the int by console

23rd Apr 2018, 1:09 PM
Facundo Velarde
Facundo Velarde - avatar
1 Respuesta
+ 1
use module function to separate the digits: https://code.sololearn.com/czo3QkPby23f/?ref=app
23rd Apr 2018, 1:39 PM
Vamoss
Vamoss - avatar