HRSystem_5/src/Organization/HRSystem.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( "\nMain menu:" );
      screen.displayMessageLine( "1 - Employee Inquiry" );
      screen.displayMessageLine( "2 - Company Details" );
      screen.displayMessageLine( "3 - Hire Employee" );
      screen.displayMessageLine( "4 - Hire Employee" );
      screen.displayMessageLine( "5 - View Payroll" );
      screen.displayMessageLine( "6 - Exit\n" );;
      screen.displayMessage( "Enter a choice: " );
      return keypad.getInput(); 
   }
private int displayMainMenu ( ) { screen . displayMessageLine ( "\nMain menu:" ) ; screen . displayMessageLine ( "1 - Employee Inquiry" ) ; screen . displayMessageLine ( "2 - Company Details" ) ; screen . displayMessageLine ( "3 - Hire Employee" ) ; screen . displayMessageLine ( "4 - Hire Employee" ) ; screen . displayMessageLine ( "5 - View Payroll" ) ; screen . displayMessageLine ( "6 - 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