Search:

Type: Posts; User: william

Search: Search took 0.22 seconds.

  1. Replies
    3
    Views
    2,056

    Re: Get out of loop to finish program?

    it is here that your problem is. you never set your check to false in your while loop to drop out.

    you can use a different while loop or not use it at all.

    put your display loop after your for...
  2. Replies
    3
    Views
    2,056

    Re: Get out of loop to finish program?

    while (check[unique[count]] == true) {
    System.out.println("check[unique[count]] " +check[unique[count]] );
    System.out.println("in while " + number);
    ...
Results 1 to 2 of 2