A 5-digit +ve integer is entered through the keyboard, write a function to calculate sum of digits of 5-digit number using recursion.
Answers
Answered by
0
Answer:
A 5-digit positive integer is entered through the keyboard, write a recursive and a non-recursive function to calculate sum of digits of the 5-digit number.
Value Returning – Control Shifting back.
Explanation:
HOPE IT HELPS
Similar questions