Search:

Type: Posts; User: curmudgeon

Search: Search took 0.11 seconds.

  1. Re: Something wrong with my nested loops? Please help.

    I think that your current problem would be solved if you did as the instructions suggest -- if you nested if blocks. Don't nest any loops as it doesn't tell you to do that, nor do I suggest it. If...
  2. Re: Something wrong with my nested loops? Please help.

    I think I see what is confusing me: if statements are not loops. Loops use while or for statements, and that's a big difference.



    You'll want to tell us more because "it didn't work" doesn't...
  3. Re: Something wrong with my nested loops? Please help.

    You state:


    This confuses me as I see no nested loops in your code, just a single while loop.

    Regarding your problem, consider using a boolean variable, inputBad, setting it to true, and...
Results 1 to 3 of 3