Hi,
I can't get the third condition to work. I think the problem is related to the amount per day that should be a double, but it's a long from the beginning of the exercise.
I reverse my treemap display (descendingMmap()) which I think it's right, but maybe I don't get the description of the exercise.
Should I display by descending value instead? (I tried that, but no luck).
Thank you
package com.codegym.task.task27.task2712;
import com.codegym.task.task27.task2712.kitchen.Cook;
import com.codegym.task.task27.task2712.kitchen.Waiter;
public class Restaurant {
public static void main(String[] args) {
Tablet tablet = new Tablet(5);
Cook cook = new Cook("Amigo");
tablet.addObserver(cook);
Waiter waiter = new Waiter();
cook.addObserver(waiter);
tablet.createOrder();
tablet.createOrder();
ManagerTablet managerTablet = new ManagerTablet();
managerTablet.printAdRevenue();
managerTablet.printCookUtilization();
managerTablet.printActiveVideoSet();
managerTablet.printArchivedVideoSet();
/*tablet.createOrder();
tablet.createOrder();*/
}
}