-->
当前位置:首页 > 题库 > 正文内容

编程题:length of semicircular arc

Luz3年前 (2022-09-27)题库363
Input the radius of the circle and calculate the length of semicircular arc
(using the pi constant in math module)
Formula for the length of a circle:C=2π r





### Input Specification:

Input the radius, which can be a floating point number

### Output Specification:

the length of semicircular arc, and keep 2 decimal places for the result.




### Sample Input:

Write a sample input here. For example:

in
2


### Sample Output:

Write the corresponding sample output here. For example:

out
L=6.28









答案:若无答案欢迎评论

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。