Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace in_figure
- {
- class Program
- {
- static void Main(string[] args)
- {
- var x = int.Parse(Console.ReadLine());
- var y = int.Parse(Console.ReadLine());
- if ((((x >= 2 && x <= 12) && (y >= -3 && y <= 1))) || (((x >= 4 && x <= 10) && (y >= -5 && y <= 3))))
- //if (y >= -3 && y <= 1 && x >= 2 && x <= 12||y >= -5 && y <= 2 && x >= 4 && x <= 10)
- {
- Console.WriteLine("in");
- }
- else
- {
- Console.WriteLine("out");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement