Main
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
boolean exit=false;
while(!exit)
{
System.out.println("------------------MENU--------------------");
System.out.println("1.Emloyeee portal");
System.out.println("2.Customer portal");
System.out.println("3.EXIT");
int choice=sc.nextInt();
System.out.println("Enter choice :- ");
switch(choice)
{
case 1:
System.out.println("-------------Entering Emloyeee portal---------------");
EmployeeRegistration.main(args);
break;
case 2:
System.out.println("-------------Entering Customer portal---------------");
CustomerManagement.main(args);
break;
case 3:
exit=true;
System.out.println("---------------EXITING--------------------");
break;
default:
System.out.println("Invalid option, please try again.");
break;
}
}
}
}