Guest User

Untitled

a guest
Jan 17th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6. double x,y;
  7. scanf("%lf %lf", &x, &y);
  8. if(x<2*y){printf("%g", x*x-y*y*y*y);}
  9. else{printf("%g", x*x*x*x+y*y);}
  10. return 0;
  11. }
Add Comment
Please, Sign In to add comment