Each interior angle has measure (n-2)(180) / n degrees and eqch exterior angle has measure 360 / n degrees, where n is the number of sides.
So, (n-2)(180) = 360. Therefore, n = 4.
The only rectangle that is a regular polygon is a square.
In a square, adjacent interior and exterior angles are both right angles.