fdf

Anonymous
C++
11/02/2023 2:12 PM
227 B
26
Indexable
Never
#include <iostream>
using namespace std;

int main()
{
	int x,y;
	cin >> x >> y;
	if (x > 0 and y > 0) cout << "1";
	else if (x > 0 and y < 0) cout << "4";
	else if (x < 0 and y > 0) cout << "2";
	else cout << "3";
}
Editor is loading...