This shouldn't compile, as "large" and "Large" are not the same thing. Also, it is possible to construct an input where large is never set (for instance, if you enter 8, 6, 4, then none of the cases apply).