Search:

Type: Posts; User: derekxec

Search: Search took 0.11 seconds.

  1. Re: Help with Looping out of a user saying the word NEW in the console

    this is a while loop



    while (insert a boolean here) {
    /*this is where you put all the code you want to loop while the boolean is true
    when all this code is executed it checks to see if the...
  2. Re: Help with Looping out of a user saying the word NEW in the console

    booleans are true or false

    boolean rerun = true;

    then put your code you would like to restart inside a while loop...here is how to use a while loop
    The while and do-while Statements (The...
  3. Re: Help with Looping out of a user saying the word NEW in the console

    you could make a boolean and use a while loop

    and you need to

    System.out.println("Would you like to use me again? Type NEW if yes.");
    //do something here to accept the users input to know...
Results 1 to 3 of 3