A machine sorts boxes into three categories (A, B, C) based on…

Written by

in

A machine sorts boxes into three categories (A, B, C) based on two rules applied in sequence: 1. If a box weighs more than 5kg, it goes to A; otherwise, to B or C. 2. If a box is red, it goes to C unless it was sent to A by rule 1. Given boxes X (6kg, blue), Y (4kg, red), Z (3kg, green), and W (7kg, red), what is the final sorting?

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

More posts