Computer Science, asked by lathasp85, 3 months ago


2. Create a function int sum(integer a) which accepts an Integer object as parameter and return to
sum of its digits. In the main() input an integer and find the sum of its digits using the above method​

Answers

Answered by radhikaomar61
3

Answer:

here is the answer.

hope it is helpful..

mark me as a brainlist.

Attachments:
Similar questions