The person who receives a majority of all the votes of the joint convention, a majority of all the members elected to both houses being present and voting, shall be duly elected. When more than one officer is to be elected the vote shall be so taken as to elect only one at a time.