The side view of a cylinder is a square. The height of the cylinder is 12.56 cm. What is the diameter of its bottom?

The side view of a cylinder is a square. The height of the cylinder is 12.56 cm. What is the diameter of its bottom?

According to the meaning of the title, if the side is square, the perimeter of the bottom is high,
Bottom diameter = 12.56 / 3.14 = 4cm