Search:

Type: Posts; User: white97

Search: Search took 0.07 seconds.

  1. Re: Trying to create a loop for the user to press enter to return to main menu

    when they press enter it should return them to the main menu to press a number again. The main menu method is app.displayMenus();
  2. Re: Trying to create a loop for the user to press enter to return to main menu

    I don't know how to write it though because the else if statement before it confuses me on what to put in the while loops boolean expression
    else if(option == 3)
    {
    while(?)
    {
    ...
  3. Trying to create a loop for the user to press enter to return to main menu

    I am having trouble with returning to the main menu.

    public static void main(String[] args)
    {
    Project4 app = new Project4();

    //Display all Menu options
    app.displayMenus();
    //Asks...
Results 1 to 3 of 3