If the office of mayor or councilman becomes vacant by death, resignation, removal or otherwise, the mayor and city council by resolution adopted within ten (10) days of such vacancy shall order an election to fill such vacancy; provided, however, that if any of such offices become vacant at any time within three (3) months of the expiration of the term of office, the city council shall have the right and power to fill said office for the remainder of the term by appointment made by the mayor and city councilmen.