HRSystem_5/src/Organization/PayrollTransaction.java
// display the main menu and return an input selection
display the main menu and return an input selection
display the main menu and return an input selection
private int displayMainMenu()
   {   
      screen.displayMessageLine( "\nChoose Option:" );
      screen.displayMessageLine( "1 - Employee Earnings" );
      screen.displayMessageLine( "2 - Sort by Salary" );
      screen.displayMessageLine( "3 - Sort by Name" );
      screen.displayMessageLine( "4 - Exit\n" );
      screen.displayMessage( "Enter a choice: " );
      return keypad.getInput(); 
    }
private int displayMainMenu ( ) { screen . displayMessageLine ( "\nChoose Option:" ) ; screen . displayMessageLine ( "1 - Employee Earnings" ) ; screen . displayMessageLine ( "2 - Sort by Salary" ) ; screen . displayMessageLine ( "3 - Sort by Name" ) ; screen . displayMessageLine ( "4 - Exit\n" ) ; screen . displayMessage ( "Enter a choice: " ) ; return keypad . getInput ( ) ; }
display the main menu and return an input selection
display the main menu and return an input selection
// return user's selection