sorry, my name is now changed. thanks for responding people. i don't supposed anyone would want to convert this to java for me, would they? (I've never been taught c++)
[ October 25, 2003: Message edited by: Dirk Schreckmann ]
Thanks for responding, it's working now I'm a little rusty with Java and unfortunately I'm taking a data stuctures class that uses Java, so I may have more questions
I need to generate a random number between -99 to 99, how do I code this? This is what I have so far, but it always comes out negative Random gererator=new Random(); num1=Math.abs(generator.nextInt()) % 99 + -99; How do I fix it?