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

PROGRAMMING:Finding the value of piecewise function

Luz5年前 (2021-05-10)题库432
For any input floating-point number x, use the following formula to calculate and print out the value of Y.
###Input format:
Enter the floating-point number X.
###Output format:
The output result of the program is: y = ########################.
###Input sample 1:
Here is a set of inputs. For example:
```in
five
```
###Output sample 1:
The corresponding output is given here. For example:
```out
zero
```
###Input sample 2:
Here is a set of inputs. For example:
```in
one point two
```
###Output sample 2:
The corresponding output is given here. For example:
```out
y = -13.6
```
###Input sample 3:
Here is a set of inputs. For example:
```in
nine point one
```
###Output sample 3:
The corresponding output is given here. For example:
```out
y = 753.6
```






answer:If there is no answer, please comment