Search:

Type: Posts; User: syclonefx

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,239

    I think i figured it out. I had 2 mistakes in the...

    I think i figured it out. I had 2 mistakes in the if statement if pick was not eqaul to NoSame[i] it assigned pick to fnum and drops out of the loop with out comparing it to the other numbers. My...
  2. Replies
    4
    Views
    1,239

    It compares pick to see if it is not equal to...

    It compares pick to see if it is not equal to each index of the array. If it is equal to the array index it goes to the else statement and gets another number for pick and minuses off 1 from i to...
  3. Replies
    4
    Views
    1,239

    Random Number Help

    I'm very new to C programming, so I am trying to write a simple random number generator to pick lotto numbers. But sometimes the program list the same number multiple times per ticket. I added an if...
Results 1 to 3 of 3