Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace кордината
- {
- class Program
- {
- static void Main(string[] args)
- {
- int x1 = int.Parse(Console.ReadLine());
- int y1 = int.Parse(Console.ReadLine());
- int x2 = int.Parse(Console.ReadLine());
- int y2 = int.Parse(Console.ReadLine());
- int x = int.Parse(Console.ReadLine());
- int y = int.Parse(Console.ReadLine());
- if (x>=x1&& x<=x2&& y>=y1&& y<=y2)
- {
- Console.WriteLine("Inside");
- }
- else
- {
- Console.WriteLine("Outside");
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment