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?
A machine sorts boxes into three categories (A, B, C) based on…
Written by
in
Leave a Reply