Search:

Type: Posts; User: Junky

Search: Search took 0.11 seconds.

  1. Replies
    9
    Views
    1,500

    Re: Java while loops and switches

    Not an infinite loop either. It will execute once, num is 5 which is <= 5, enters loop, increments to 6 which is no longer <= 5 exits loop.
  2. Replies
    9
    Views
    1,500

    Re: Java while loops and switches

    You need to make an attempt and write some code. When you get stuck post the code here using code tags. Include full error messages. Ask a specific question.
Results 1 to 2 of 2