In a regular octagon, each interior angle can be calculated using the formula:
$$ ext{Interior Angle} = rac{(n-2) imes 180}{n} $$
where $n$ is the number of sides. Determine the measure of each interior angle in a regular octagon and compare it with the measure of each interior angle in a regular hexagon, which can also be determined using the same formula.