Bob103

вфыв

Sep 29th, 2015
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4. float x,y;
  5. int main()
  6. {
  7. cout<<"Input x"<<endl;
  8. cout<<"Input y"<<endl;
  9. cin>>x;
  10. cin>>y;
  11. if (y<abs (y) &&(pow(x,2)+pow(y,2))<100);
  12. cout<<"V oblasti";
  13. else if (y>abs(y) && pow(x,2)+pow(y,2)=100;
  14. cout<<"Na granice";
  15. else cout <<"Za predelami";
  16. system("pause");
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment