JetBrain [Easy] Coffee Machine - Stage 5
/** * Write action (buy, fill, take, remaining, exit): * > remaining * * The coffee machine has: * 400 of water * 540 of milk * 120 of coffee beans * 9 of disposable cups * $550 of money * * Write action (buy, fill, take, remaining, exit): * > buy * * What do you want to buy? 1 - espresso, 2 - latte, 3 - cappuccino, back - to main menu: * > 2 * I have enough resources, making you a coffee! * * W..