Problems Description
<p class="MsoNormal"> (几何方面:六边形面积<span>)</span>编写程序,提示User输入六边形的边长,然后显示它的面积。计算六边形面积的公式是:<span></span> </p> <p class="MsoNormal"> </p> <img src="http://tk.hustoj.com/attached/image/20151004/20151004181822_21098.png" alt="" />
Input格式
在屏幕上显示这段文字 <b>Enter the side: 输入数据</b>
Output格式
<span>在屏幕上显示这段文字<b>The area of the hexagon is</b> 输出结果</span>
Sample
Sample Input 1
Enter the side: 5.5
Sample Output 1
The area of the hexagon is 78.5895
Submit Code
请先Login后Submit
🤖 AI 解题助手
OpenRouter
就绪