Searched refs:rangemax (Results 1 - 1 of 1) sorted by relevance

/netbsd-current/games/arithmetic/
H A Darithmetic.c99 static int rangemax = 10; variable
131 if ((rangemax = atoi(optarg)) <= 0)
186 * or the correct result (for -, /) are in the range 0 to rangemax. Each wrong
201 right = getrandom(rangemax + 1, op, 1);
206 left = getrandom(rangemax + 1, op, 0);
210 result = getrandom(rangemax + 1, op, 0);
214 left = getrandom(rangemax + 1, op, 0);
218 right = getrandom(rangemax, op, 1) + 1;
219 result = getrandom(rangemax + 1, op, 0);

Completed in 130 milliseconds