2 * Copyright (C) 2012, The AROS Development Team
4 * Author: Jason S. McMullan <jason.mcmullan@gmail.com>
6 * Licensed under the AROS PUBLIC LICENSE (APL) Version 1.1
13 int main(int argc
, char **argv
)
19 printf("Usage:\n%s <seed> <steps>\n", argv
[0]);
23 seed
= strtol(argv
[1], NULL
, 0);
24 steps
= strtol(argv
[2], NULL
, 0);
27 printf("Seed: %ld\n", seed
);
28 for (i
= 0; i
< steps
; i
++) {
30 printf("Step %d: %ld\n", i
, random());