javascript icon indicating copy to clipboard operation
javascript copied to clipboard

Exercise: Mixed Juices is unclear

Open joshgoebel opened this issue 3 years ago • 0 comments

Students are recommended to use a do-while but the instructions only specify that time is never 0, they do not ALSO specify that the list of drinks is never empty. Both this things would need to be true for a do-while solution.

The time left in the shift will always be greater than 0.

It's weird that the spec/instructions ONLY speaks about time and not the list of drinks... if both are guaranteed to be "non-zero" (to support do-while) I'd expect the instructions to be explicit about BOTH.

It's confusing that it's only explicit about the time.


I'd suggest we add something like:

The list of juices/drinks to prepare will never be empty.

joshgoebel avatar Aug 24 '22 12:08 joshgoebel