According to UGC norms create a department in a university which said: a department should have minimum 20 faculties in it. It includes maximum 4 professors, 8 associate professors and rest are the assistant professors. If professors become more than 4 then generate an exception named as NoMoreProfessor. If associate professor become more than 8 then generate an exception named as NoMoreAssociateProfessor. 2 Associate professor and 3 assistant professor are applying for the promotion with their respective experience. The criteria for the promotion is: 5 years of experience for associate professor and 10 years of experience for professor. Code this scenario in C++. (Note: No two faculties has same experience
According to UGC norms create a department in a university which said: a department should have minimum 20 faculties in it. It includes maximum 4 professors, 8 associate professors and rest are the assistant professors. If professors become more than 4 then generate an exception named as NoMoreProfessor. If associate professor become more than 8 then generate an exception named as NoMoreAssociateProfessor. 2 Associate professor and 3 assistant professor are applying for the promotion with their respective experience. The criteria for the promotion is: 5 years of experience for associate professor and 10 years of experience for professor. Code this scenario in C++. (Note: No two faculties has same experience)
Step by step
Solved in 2 steps with 1 images