![subject](/tpl/images/cats/mat.png)
Mathematics, 04.05.2021 06:30 seasmarie75
Problem: Write a method that will sum all digits of a number and replace the number with its digit sum.
Data: A list containing 0 or more values. The list will not point at null. All numbers will be positive.
Output: All numbers will be replaced by their digit sum.
Help: The method for this problem does not return nor print anything. Yoiu must change the values in the list that was passed in.
Starting List
1, 212, 333, 49
99, 453
213
Ending List
1, 5, 9, 13
18, 12
6
I need this in java with arraylists.
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Mathematics
![question](/tpl/images/cats/mat.png)
Mathematics, 21.06.2019 18:00
If f(x) = 4x โ 3 and g(x) = 8x + 2, find each function value a.f[g(3)] b.g[f(5)] c.g{f[g(-4)]}
Answers: 3
![question](/tpl/images/cats/mat.png)
Mathematics, 21.06.2019 20:00
Simplify (2^5/3^2)^4 a. 2^20/3^8 b. 2^9/3^8 c. 8^5/12^2 d. 2/3^2
Answers: 1
![question](/tpl/images/cats/mat.png)
Mathematics, 21.06.2019 22:00
Which of the following graphs could represent a cubic function?
Answers: 1
![question](/tpl/images/cats/mat.png)
Mathematics, 21.06.2019 22:40
Which of the following functions corresponds to the above sinusoid? a. 10 cos ฯx - 5 b. -5 sin x - 5 c. -10 cos ฯx/2 - 0.5 d. 10 sin ฯx - 5
Answers: 1
You know the right answer?
Problem: Write a method that will sum all digits of a number and replace the number with its digit s...
Questions
![question](/tpl/images/cats/en.png)
English, 26.02.2022 07:10
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 26.02.2022 07:10
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/fizika.png)
Physics, 26.02.2022 07:10
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/istoriya.png)
History, 26.02.2022 07:10
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
Chemistry, 26.02.2022 07:10
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 26.02.2022 07:10
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 26.02.2022 07:20
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 26.02.2022 07:20
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)