Add Example for Using while and operators