1
I make the sum of two numbers 5 and 5, how to pass the result (10) as follows:
vetor[0]=1
and vetor[1]=0
, that is, separate the result for each position of my vector, without the vetor[0]
receive the full amount that would be vetor[0]=10
.
Possible duplicate of Separating integer by character
– Daniel