This time we play games, and the game we were told to forward some of the peopledepend lecturers and statements to be played in the game.
And now my fault should forward diurutan number 5, well I almost forgot to mention when the last words whispered by my friend. The game is exciting .. : D
1. the simplest case or base case. in it will contain a value.
2. step recursive (recursive call), where a complex problem is broken down into simple problems. This recursive step should lead to case basis.
An example is a program to find the value of n! with n integer non negatif.n! defined as:(integer)
n! = N * (n-1) * (n-2) * … * 1
with 1! = 1 and 0! = 1. This problem can be solved by an iterative manner using thestatement for. Let n be the search n!