Do u no ?

  • Thread starter gulu9
  • Start date
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
thnks
 
Last edited:
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
 

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top