This message doesn't quite convey the right message that we want, though your implementation is correct.  Since you initialize min and max to be 0, this message makes sense but we shouldn't initialize them to 0.  Instead, we should have something to the effect of 'No numbers were typed before the SENTINEL'