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

PROGRAMMING:Piecewise Function

Luz5年前 (2021-05-10)题库448
Develop a program to calculate a piecewise function.
![ Piecewise function. PNG] (~ / 9c2bfcbc-5b5c-4fa0-a4c6-6463233f2d12. PNG)
### Input Specification:
input a decimal number for x
### Output Specification:
output the value of x and y. keep 2 decimal numbers. Seperate by ','
### Sample Input:
```in
three point five
```
### Sample Output:
```out
x=3.50,y=32.00
```







answer:If there is no answer, please comment