A polygon has an angle sum of 360°, and each angle measures 90°. What is the polygon?
triangle
regular octagon
pentagon
square
triangle
regular octagon
pentagon
square