Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 7, Question 2, Call center, reason why director is not assigned #217

Open
ghost opened this issue Apr 2, 2021 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented Apr 2, 2021

Hello,

When I was solving this problem, I stumbled to following code:

for (int level = call.getRank().getValue(); level < LEVELS - 1; level++) {
List<Employee> employeeLevel = employeeLevels.get(level);
for (Employee emp : employeeLevel) {
if (emp.isFree()) {
return emp;
}
}
}

In my opinion, it doesn't assign Director rank to call or am I missing something?

Problem statement:

If the manager is not
free or not able to handle it, then the call should be escalated to a director.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants