How I can sum all numbers in array and print them as integer value in java?

后端 未结 0 1246
有刺的猬
有刺的猬 2020-12-01 03:59

I have this number "811218-3476"as string,I want to multiply 8 by 2,1 by 1, 1 by2, 2 by1 and so on as following:

8 1 1 2 1 8 3 4 7 6

2 1 2 1 2 1 2 1

相关标签:
回答
  • 消灭零回复
提交回复
热议问题