Lucian_Adrian

Untitled

Aug 22nd, 2021
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int x1,y1,x2,y2;
  8. cin>>x1>>y1>>x2>>y2;
  9. if(x1==x2)
  10. cout<<"verticala";
  11. else
  12. {
  13. if(y1==y2)
  14. cout<<"orizontala";
  15. else
  16. cout<<"oblica";
  17. }
  18. return 0;
  19. }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment