home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMIGA PD 1
/
AMIGA-PD-1.iso
/
Programme_zum_Heft
/
Programmieren
/
Kurztests
/
DiceC
/
examples
/
count.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-02-01
|
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);
}