Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. SloCal

    do while loops

    The compiler I used let it go and then when I ran the program, it never let me out of the loop because I initialized the value to zero which passed as zero to the condition which always made it true. Once I got rid of the initial value and passed the calculated one, everything was fine... well...
  2. SloCal

    do while loops

    Nevermind... I found that I forgot to return a value in the second function which screwed everything else behind it up!!
  3. SloCal

    do while loops

    I'm doing a class product, and I'm getting stuck in a do while loop. The conditions have to be true in order for the loop to repeat itself right? Since the conditions use OR logic, doesn't that mean that if any of the conditions are false, then it should jump out of the loop? I'm also having...

Part and Inventory Search

Back
Top