PROGRAMMING:Calculating function p (n, x)
Enter a positive integer repeat (0 < repeat < 10) and perform the following operations:
Enter an integer n (n > = 0) and a double precision floating-point number x, and output the value of the function p (n, x) (2 decimal places reserved).
###
1 (n=0)
x (n=1)
((2*n-1)*p(n-1,x)-(n-1)*p(n-2,x))/n (n>1)
In brackets is a description
###Input example:
```in
three ( repeat=3)
0 0.9 ( n=0,x=0.9)
1 -9.8 ( n=1,x=-9.8)
10 1.7 ( n=10,x=1.7)
```
###Output example:
```out
p(0,0.90)=1.00
p(1,-9.80)=-9.80
p(10,1.70)=3.05
```
answer:If there is no answer, please comment
Enter an integer n (n > = 0) and a double precision floating-point number x, and output the value of the function p (n, x) (2 decimal places reserved).
###
1 (n=0)
x (n=1)
((2*n-1)*p(n-1,x)-(n-1)*p(n-2,x))/n (n>1)
In brackets is a description
###Input example:
```in
three ( repeat=3)
0 0.9 ( n=0,x=0.9)
1 -9.8 ( n=1,x=-9.8)
10 1.7 ( n=10,x=1.7)
```
###Output example:
```out
p(0,0.90)=1.00
p(1,-9.80)=-9.80
p(10,1.70)=3.05
```
answer:If there is no answer, please comment