home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Liren Large Software Subsidy 7
/
07.iso
/
c
/
c025
/
1.ddi
/
RAND.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1985-01-24
|
202 b
|
12 lines
main() /* rand.c -- obtains random positive integers from rand() */
{
int i, n;
for (i = 0; i < 5; i++) {
n = rand();
printf("%d ",n);
}
puts("\nThere are no correct answers.");
}