Advertisement
Guest User

Untitled

a guest
Feb 25th, 2020
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. int main(){
  4. float x, y;
  5. scanf("%f %f",&x,&y);
  6.  
  7. if ((x*x + y*y < 1)){
  8. if (x<0&&y<0){
  9. printf("net");
  10. }
  11. else{
  12. if ((1-x)>y){
  13. printf("da");
  14. } else {
  15. printf("net");
  16. }
  17. }
  18. } else {
  19. printf("net");
  20. }
  21.  
  22. return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement