Answer:
Pyramid
Explanation:
![\text{Volume of a Square Pyramid }=(1)/(3) * l^2 * Height\\\\ \text{Volume of a Cone }=(1)/(3) \pi r^2 * Height](https://img.qammunity.org/2021/formulas/mathematics/high-school/onldk6ccax2bogvwv4oogg9vj9kbemsbjw.png)
Given that the two solids have the same volume
![(1)/(3) * l^2 * Height=(1)/(3) \pi r^2 * Height](https://img.qammunity.org/2021/formulas/mathematics/high-school/f881hylthgbmbjw6yfl5meako1kf5umh9u.png)
If the length of a side of the square base of pyramid A is the same as the base radius of cone B. i.e l=r
![(1)/(3) * l^2 * $Height of Pyramid=$(1)/(3) \pi l^2 * $Height of cone$\\\\$Cancel out $ (1)/(3) * l^2$ on both sides\\\\Height of Pyramid= \pi * $ Height of cone$](https://img.qammunity.org/2021/formulas/mathematics/high-school/olzqs06q4ed6mlkzld52ft7w4kyzpkjb5r.png)
If the height of the cone is 1
![H$eight of Pyramid= \pi * 1 \approx 3.14$ units](https://img.qammunity.org/2021/formulas/mathematics/high-school/ty7zj7u7oc8je7dzfogjoib4ertw3omnxp.png)
Therefore, the pyramid has a greater height.