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

PROGRAMMING:C programming experiment 3-5

Luz5年前 (2021-05-10)题库512
Utilization
![ sinx.png](~/80053a12-1c91-4c80-9fd0-ca8bf17ac609.png)
The value of SiNx is calculated until the absolute value of the last term is less than 10 $$^ {- 5} $$. It is required to count the number of items involved in the accumulation in the process of calculation.
###Input format:
Enter the value of X from the keyboard.
###Output format:
Output the value of SiNx and the accumulated number of items in the form of output examples, where the value of SiNx retains two decimal places.
###Input example:
```in
one point five seven
```
###Output example:
```out
sin(x)=1.00
count=6
```







answer:If there is no answer, please comment