Skip to content

Exercise: Mixed Juices is unclear #1877

Description

@joshgoebel

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions