The user input four integer numbers in same line,for example,4857
After the input, I would like to place the four numbers into array
The result ,array = j
i is the position , j is number of input.
how to do it? must require to use substring? any other solutions?