How to get sum of elements of one dimensional array with unkown number of elements

前端 未结 0 1118
灰色年华
灰色年华 2020-12-13 19:54

The input of array is taken using scanner class and is of type 1 2 3 and so on. Number of elements are not fixed

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