Initial commit

This commit is contained in:
Michael Reber
2019-11-15 12:59:38 +01:00
parent 40a414d210
commit b880c3ccde
6814 changed files with 379441 additions and 0 deletions
@@ -0,0 +1,17 @@
Fig01_02.cpp - A simple recursive routine with a test program
#include <iostream.h>
int f( int x )
{
/* 1*/ if( x == 0 )
/* 2*/ return 0;
else
/* 3*/ return 2 * f( x - 1 ) + x * x;
}
int main( )
{
cout << "f(5) = " << f( 5 ) << endl;
return 0;
}