+ 1
recursive sum problem in C
I couldn't handle the base case of the recursive function below. can anyone help? write a recursive function that gives the summation of given number's previous 3 numbers? for example : given number is 7 function gives the sum of 6+5+4 = 15
1 Respuesta
+ 3
please share your code, since you have try it