splorgamus
splorgamus
CC#
Created by splorgamus on 11/23/2024 in #help
I need help implementing recursion in a general way
So I suppose for the base you would have an index variable as a parameter and if that's >= to the array length then you return? (I'm not exactly sure why sometimes people return blank) And the recursive case you would call the function with your argument as index + 2
6 replies
CC#
Created by splorgamus on 11/23/2024 in #help
I need help implementing recursion in a general way
I was thinking of for example iterating through the elements of an array maybe print maybe print every other element like you would with i += 2
6 replies