0
Need help please
Write a recursive function sumAllDigits. This function will take an integer parameter as input and return the sum of the digits in the input integer. You must design a recursive solution for this assignment, do not use loops.
3 Answers
+ 1
var sum=0;
def summed(sum):
var temp;
print(" enter a no");
sum+=Integer(raw_input(temp));
print(sum);
summed(sum);
0
use labels ans goto statements combination with if statements
0
thanks for the help