7

loop: while (awake && !cup.isEmpty()) {
drink(cup);
work;
}
cup.put(Drinks.COFFEE);
goto loop;

Comments
  • 0
    Which language is this m8
  • 1
    kind of Java with an added goto cause I was too lazy to write it properly 😅
Add Comment