View Single Post
  #4 (permalink)  
Old 09-15-2008, 02:18 AM
pjr5043 pjr5043 is offline
Member
 
Join Date: Sep 2008
Posts: 16
pjr5043 is on a distinguished road
yea i thought this way was pretty stupid.. my professor told our class to copy this number generator and start from there. but how else can i call on it to creat a random number and not have it be a string and return a certain value?

for instance how to i just have it generate a random number then return it.

b/c if i could do that, i would run the program 3 times generate a different number each time, then add them together to produce a number. i'm just new to java and dont know how to do that
Reply With Quote