Ah. I see where you're headed with that now. I like that. Remainders aren't verboten, though. :-) But at the same time that could be a neat feature to incorporate especially on the 'easy' or 'medium' difficulty setting. Regardless it's starting to look like the best thing to do might be for the division module to have its own dedicated random number subroutine, rather than recycling the one used in the other three parts of the program.
On Wed, Sep 20, 2017 at 11:52 AM, John R. Hogerhuis <jho...@pobox.com> wrote: > Another way to say it... take two non zero random integers a, b. Multiply > them together to get c. > > c is divisible by a and b with no remainder or fraction. c is also greater > than or equal to a and b. > > -- John. >