home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software of the Month Club 1995 December
/
SOFM_Dec1995.bin
/
pc
/
dos
/
gi
/
ctutor
/
recurson.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-10-31
|
322b
|
19 lines
/* Chapter 5 - Program 5 */
main()
{
int index;
index = 8;
count_dn(index);
}
count_dn(count)
int count;
{
count--;
printf("The value of the count is %d\n",count);
if (count > 0)
count_dn(count);
printf("Now the count is %d\n",count);
}