Every ordinance and resolution passed and every election of an officer or employee by the mayor and city council shall be subject to the veto of the mayor and in the following manner: The mayor shall, within three days, write out his or her objections to such resolution, ordinance, or election and the mayor and city council shall, at the next regular or called meeting at which a quorum shall be present, order said objections entered on the minutes and take a vote on the question as to whether said ordinance, resolution, or other action shall become adopted over said veto. Should as many as four city council members vote in the affirmative, said resolution, ordinance, or other action shall stand affirmed and become effective without the approval of the mayor; otherwise, not. The "ayes" and "nays" shall in all cases be entered upon the minutes.