-->
当前位置:首页 > 题库

PROGRAMMING:Finding the perimeter of the latitude line

Luz5年前 (2021-05-10)题库409
Programming: the average radius of the earth is known to be 6371.393km, and the latitude value (in degrees) of a certain place on the earth is known, and the perimeter of the latitude line of the place is calculated. All real numbers are required to use double type, and the approximate value of PI is 3.141592653589793.
It is suggested that north latitude and south latitude can be distinguished by positive and negative, that is, north latitude is positive and south latitude is negative.
###Input format:
Enter a real number representing latitude in the interval [- 90,90].
###Output format:
Output the value of the perimeter of the latitude line, keep 3 decimal places, and finally wrap.
###Input example:
```in
thirty-six point eight one
```
###Output example:
```out
thirty-two thousand and fifty-one point two zero seven
```







answer:If there is no answer, please comment