switch(workerType){
default:
System.out.println("\n\nWrong worker type! Try again!\n");
break;
case 1:
Worker worker = new Worker(keyboard.readLine(),Double.parseDouble(keyboard.readLine()));
company.addWorker(worker);
if(company.addWorker(worker)){
System.out.println("\n\nWorker was added to company.\n");
}else{
System.out.println("\n\nWorker wasn't added to company! Try again!\n");