Results 1 to 6 of 6

Thread: More Random Numbers!

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member wiccaan's Avatar
    Join Date
    Apr 2004
    Location
    127.0.0.1
    Posts
    475

    Resolved More Random Numbers!

    Hey guys, need a little help with generating some random numbers in a console application.

    First, Im trying to the get the program to generate 10 random numbers between 1 and 10 (Including both 1 and 10) and then display all 10 of them in the console itself on seperate lines.

    Ive tried using the Random function with a loop to display all 10 numbers, but I kept getting numbers way bigger then 10 and it wouldnt loop all 10 numbers only showing 1.

    Thanks in advance to whom ever can help me with this.
    Last edited by wiccaan; Feb 16th, 2005 at 12:12 AM.
    If my post was helpful please rate it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width