JUICE, SODA, and LUCKY

vendormachineA drinks dispenser has three labelled buttons: JUICE, SODA, and LUCKY. If you press LUCKY you are supposed to get either juice or soda with equal probability.

Each button is wired to exactly one of these functions, but each function is not necessarily wired to exactly one button.

Assuming that you are clever, but unlucky, how many button presses are required to establish exactly which button does which function?

 

Check the answer

About aplusclick
about.me/igor.kokcharov

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: