I have an assingment that sound like this:
Draw a block diagram of recursive function that sums first N even numbers, where N is entered from keybord or in procedure that calling a function.
I have posted the JPG of my solution.
But this is not going to work. This looks like a loop.
I need to put a base case at the right place. I thought that the good base case should be N>0 but somthing is very wrong here :-s
Can someone can help me?
P.S. Sorry if this is in wrong thread.