public void menuCall()
    {
        boolean quit=true;
        int operation;
       
        while(quit)
        {
            System.out.println("Welcome Saar!");
            System.out.println("Enter the operation that you wish to perform");
            System.out.println("1. Insert a record for a new staff member");
            System.out.println("2. Update an existing staff member's record");
            System.out.println("3. Delete an existing staff member's record");
            System.out.println("4. Generate the report for all the customers assisted by a particular salesperson for a given time period");
            System.out.println("5. Generate a report of the staff members of Books-a-Thousand grouped by their role");
            System.out.println("6. Quit");
            operation=scan.nextInt();
            switch(operation)
            {
            /* Case 1:Insert a record for a new staff member*/
                case 1:
                        System.out.println("Enter a staff id");
                        staffId = scan.nextInt();
                        System.out.println("Enter the name");
                        name = scan.next();
                        System.out.println("Enter the age");
                        age = scan.nextInt();
                        System.out.println("Enter the gender");
                        gender = ((scan.next()).toCharArray())[0];
                        System.out.println("Enter the salary");
                        salary = scan.nextLong();
                        System.out.println("Enter the job title");
                        jobTitle = scan.next();
                        System.out.println("Enter the department");
                        department = scan.next();
                        System.out.println("Enter the phone number");
                        phoneNumber = scan.nextLong();
                        System.out.println("Enter address");
                        address = scan.next();
                        System.out.println("Enter a store id");
                        storeId = scan.nextInt();
                        createStaff(staffId, name, age, gender, salary, jobTitle, department, phoneNumber, address, storeId);
                        break;
                        
                        
                        /* Case 2:  Update an existing staff member's record  */
                case 2:
                        System.out.println("Enter the id of the staff member who's record you want to update");
                        staffId = scan.nextInt();
                        try
                        {
                            result = statement.executeQuery("SELECT * FROM Staff WHERE StaffId ="+staffId);
                        }
                        catch (SQLException e)
                        {
                            // TODO Auto-generated catch block
                            e.printStackTrace();
                        }
                        updateStaff(result);
                        break;
                        
                        /* Case 3: Delete a Staff Member*/
                case 3:
                        System.out.println("Enter the id of the staff member who's record you want to delete");
                        staffId = scan.nextInt();
                        deleteStaff(staffId);
                        break;
                        
                        
                 /* Case 4: Generate the report for all the customers assisted by a particular salesperson for a given time period */
                case 4:
                        String startDate , endDate;
                        System.out.println("Enter the id of the staff member who's purchase usage history");
                        staffId = scan.nextInt();
                        System.out.print("Enter the start date of the duration");
                        startDate= scan.next();
                        System.out.print("Enter the end date of the duration");
                        endDate = scan.next();
                        genCustInfo(staffId, startDate, endDate);
                        break;
                        
                 /* Case 5: Generate a report of the staff members of Books-a-Thousand grouped by their role*/
                case 5:
                        genInfoBasedOnRole();
                        break;
                        
                 /* Case 6: Quit */       
                case 6:
                        System.exit(0);
                        break;
                        
                        /* Default Case */
                default:
                        System.out.println("Invalid Entry");
                        break;               
           
            }
        }
    }