HomeSort by: relevance | last modified time | path
    Searched defs:rangemax (Results 1 - 2 of 2) sorted by relevancy

  /src/games/arithmetic/
arithmetic.c 99 static int rangemax = 10; variable in typeref:typename:int
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);
arithmetic.c 99 static int rangemax = 10; variable in typeref:typename:int
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 23 milliseconds