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
3
Answer:
here is the answer.
hope it is helpful..
mark me as a brainlist.
Attachments:
Similar questions