tip calculator with user supplied variables with puts and gets