Computer Science, asked by prakhar8881, 5 months ago

Question 7. Design a function in Java to ask any number from user and print the sum of all the digits in

single digit. Ex.: 9875

29

11

2

[10]​

Answers

Answered by parijaini
1

Answer:

\huge{\mathcal{\purple{A}\green{N}\pink{S}\blue{W}\purple{E}\green{R}\pink{!}}}!

  • 29!!
Similar questions