Imports System
Module Program
Function PentagonArea(side As Single, apothem As Single) As Single
Return 5.0F * (side * apothem) / 2.0F
End Function
Sub Main()
Dim side As Single = 5.0F
Dim apothem As Single = 3.0F
Dim area As Single = PentagonArea(side, apothem)
Console.WriteLine($"Area = {area:F2}")
End Sub
End Module
'
' run:
'
' Area = 37.50
'