fork download
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. int main() {
  5. int x = 4;
  6. double a, p, t, y;
  7. printf("Введіть значення x: ");
  8. scanf("%d", &x);
  9. printf("Введіть значення a: ");
  10. scanf("%lf", &a);
  11. p = pow(x, 2) - sqrt(fabs(x));
  12. t = pow(x + pow(a, 2), 1.0 / 3.0);
  13. y = pow(p, 2) + pow(t, 4);
  14. printf("Значення y: %lf\n", y);
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 5276KB
stdin
Standard input is empty
stdout
Введіть значення x: Введіть значення a: Значення y: 202.349604