Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Do u no ?

  1. Jun 18, 2005 #1
    i want to get a random range of numbers of a longger range of number, ex, longer range i=6,9,96,8,6,5,6,5,6,5,4,5,6,6,11,6,1,11,2,113,16
    randome range is numbers random in taht range
    i m using c, u can also give me source code in vb if u can do it in vb
    Last edited: Jun 18, 2005
  2. jcsd
  3. Jun 18, 2005 #2
    never mind i figure it out,
    input n //n new values to allocate new
    another array with n range be made by new
    and finally output them
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook