text: Driver Code
code: $ b = 4 ; $ h = 9 ; $ a = 4 ; echo ( " Volume ▁ of ▁ triangular ▁ base ▁ pyramid ▁ is ▁ " ) ; echo ( volumeTriangular ( $ a , $ b , $ h ) ) ; echo ( " STRNEWLINE " ) ; echo ( " Volume ▁ of ▁ square ▁ base ▁ pyramid ▁ is ▁ " ) ; echo ( volumeSquare ( $ b , $ h ) ) ; echo ( " STRNEWLINE " ) ; echo ( " Volume ▁ of ▁ pentagonal ▁ base ▁ pyramid ▁ is ▁ " ) ; echo ( volumePentagonal ( $ a , $ b , $ h ) ) ; echo ( " STRNEWLINE " ) ; echo ( " Volume ▁ of ▁ Hexagonal ▁ base ▁ pyramid ▁ is ▁ " ) ; echo ( volumeHexagonal ( $ a , $ b , $ h ) ) ; ? >