package main
import (
"fmt"
)
func pentagonArea(side float64, apothem float64) float64 {
return 5.0 * (side * apothem) / 2.0
}
func main() {
side := 5.0
apothem := 3.0
area := pentagonArea(side, apothem)
fmt.Printf("Area = %.2f\n", area)
}
/*
run:
Area = 37.50
*/