#include<stdio.h>
#include<math.h>
int main()
{
float x, y;
scanf_s("%f", &x);
if (x >= 0)
y = sqrt(x);
else
y = pow(x, 5) + 2 * x + 1 / x;
printf(“x=%.2f,y=%.2f\n”, x, y);
return 0;
}
相关文章
- 03-182021-11-13
- 03-182021-11-13
- 03-182021-11-13
- 03-182021-11-13组合
- 03-182021-11-13
- 03-182021-11-13
- 03-182021-11-13
- 03-182021-11-13
- 03-182021-11-13
- 03-182021-11-13