Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
344 B
1
Indexable
Never
#include <iostream>
using namespace std;

int mesto(int a,int b)
{
	if (a > 0 && b > 0){
		cout << "1";
	}
	if (a > 0 && b < 0){
		cout << "2";
	}
	if (a < 0 && b < 0){
		cout << "3";
	}
	if (a < 0 && b > 0){
		cout << "4";
	}
	return a;
	return b;
}

int main()
{
	int a, b;
	cin >> a >> b;
	mesto(a,b);
	return 0;
}