Write a program that prompts the user to enter the side of a hexagon and displays its

Question:

Write a program that prompts the user to enter the side of a hexagon and displays its area. The formula for computing the area of a hexagon is

image

where s is the length of a side. Here is a sample run:

Enter the side: 5.5

The area of the hexagon is 78.5895

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: