Question: Write a C++ program to calculate the area of a hexagon prompting the user to enter the side of a hexagon and display its area.
Write a C++ program to calculate the area of a hexagon prompting the user to enter the side of a hexagon and display its area. The formula for computing the area of a hexagon is
Area =[( 3*(3)^1/2 )/2]*s^2
s is the length of a side.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
