PROGRAMMING:Evaluation of piecewise function
Write a program to output the value of Y according to the value of x input from the keyboard. Both X and y are double precision floating-point numbers, and the output is accurate to 3 decimal places. The functional relationship between X and Y is shown in the figure below
![ Capture. PNG] (~ / 656a6939-e440-4e31-b047-32f4283a2276. PNG)
###Input format:
The input is a double precision floating-point number.
###Output format:
The output is a double precision floating-point number, which should be accurate to 3 decimal places.
###Input example:
Here is a set of inputs. For example:
```in
three point one
```
###Output example:
The corresponding output is given here. For example:
```out
thirty-four point seven nine one
```
answer:If there is no answer, please comment
![ Capture. PNG] (~ / 656a6939-e440-4e31-b047-32f4283a2276. PNG)
###Input format:
The input is a double precision floating-point number.
###Output format:
The output is a double precision floating-point number, which should be accurate to 3 decimal places.
###Input example:
Here is a set of inputs. For example:
```in
three point one
```
###Output example:
The corresponding output is given here. For example:
```out
thirty-four point seven nine one
```
answer:If there is no answer, please comment