Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- int xa,xb,ya,yb;
- cin >> xa >> ya >>xb>>yb;
- if(ya==yb){
- cout << "orizontala";
- }
- else if(xa==xb){
- cout<<"verticala";
- }
- else{
- cout<<"oblica";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement