Search:

Type: Posts; User: C++kingKnowledge

Search: Search took 0.09 seconds.

  1. Replies
    9
    Views
    942

    [SOLVED] Re: While loop question

    no prob i'm just like u trying to gain knowledge and help others.... happy coding
  2. Replies
    9
    Views
    942

    [SOLVED] Re: While loop question

    make it equal 0 after the while loop
  3. Replies
    9
    Views
    942

    [SOLVED] Re: While loop question

    ok i get it you want the number to generate a certain amount of times in the case that the number isn't one and keep count of other variables while that condition is true or not... just reset the...
  4. Replies
    9
    Views
    942

    [SOLVED] Re: While loop question

    i think i get what ur trying to do... just make the randNum1 generate without the while loop and see if that's what u had in mind... the use of that while loop makes possible for complications and...
  5. Replies
    9
    Views
    942

    [SOLVED] Re: While loop question

    u have in your while loop randNum1 != 1 but you also have if(randNum1 == 1) inside the loop so if that case is true then after that loop randNum1 will be equal to 1 so your while loop will never run...
Results 1 to 5 of 5