Need help to complete my app

Captures
that’s my app , if I want s certain message to appear when the user enter specific range of numbers how to do it?
note: every message I want to show, has a specific range of numbers to be entered in age and height.