using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;

namespace Solution {
    class Solution {
        static void Main(string[] args) {
            int x , y;
            do{
                string cadena = Console.ReadLine();
                string [] xy = cadena.Split(' ');
                x = Convert.ToInt32(xy[0]);
                y = Convert.ToInt32(xy[1]);
                if (x>0 && y>0)
                   Console.WriteLine("CUADRANTE I");     
                else if (x<0 && y>0)
                   Console.WriteLine("CUADRANTE II"); 
                else if (x<0 && y<0)
                   Console.WriteLine("CUADRANTE III"); 
                else if (x>0 && y<0)
                   Console.WriteLine("CUADRANTE IV"); 
                
            }while (x!=0 && y!=0);
        }
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: