To find the surface area of a regular polygon that is circumscribed around a triangular prism in Swift, you can follow these steps:
main.swift232 chars5 lines
main.swift203 chars4 lines
main.swift149 chars3 lines
Putting it all together:
main.swift461 chars15 lines
gistlibby LogSnag