Practicing do_while functions