#2567. 2.22几何方面:六边形面积
2.22几何方面:六边形面积
Cannot parse: Cannot read properties of null (reading 'length')
2.22几何方面:六边形面积
题目描述
(几何方面:六边形面积)编写程序,提示用户输入六边形的边长,然后显示它的面积。计算六边形面积的公式是:
输入说明
在屏幕上显示这段文字 Enter the side: 输入数据
输出说明
在屏幕上显示这段文字The area of the hexagon is 输出结果
样例
输入
Enter the side: 5.5
输出
The area of the hexagon is 78.5895