Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,199 of 10,840    |
|    Jack Higgs to All    |
|    Dividing whole numbers problem    |
|    06 Feb 05 15:44:08    |
      From: wh004b8680@nospam.co.uk              I'm building a maths program for year 6 children.              Problem with division - I generate a random number between say 1 and 1000. I       want to generate another random number which when divided by the first       number gives a whole number answer. Any Idea how I could do this? Obviously       generating prime numbers is a bit of a problem as well!              Cheers,              Jack              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca