home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
languages
/
dice_466
/
netdcc
/
examples
/
count.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-05-20
|
217b
|
22 lines
/*
* COUNT.C
*/
#include <stdio.h>
main(ac, av)
char *av[];
{
long i;
if (ac == 1) {
puts("count <startvalue>");
exit(1);
}
for (i = atoi(av[1]); i; --i)
printf("%d\n", i);
return(0);
}