Write age with if statement for flow control