Frank will guess the quadrilateral you are thinking of by you answering his questions with either a yes or a no.
Decision tree coding, aligned to the phase 2 of the 2026 NZ maths curriculum