예제 #1
0
        static void Main(string[] args)
        {
            DIEM a = new DIEM(); a.nhap(); a.hien();
            DIEM b = new DIEM(); b.nhap(); b.hien();

            Console.WriteLine("khoang cach la" + a.khoangcach(b));
            Console.ReadKey();
        }
예제 #2
0
        static void Main(string[] args)
        {
            Console.InputEncoding  = Encoding.UTF8;
            Console.OutputEncoding = Encoding.UTF8;
            DIEM a = new DIEM(); a.nhap(); a.hien();
            DIEM b = new DIEM(); b.nhap(); b.hien();

            Console.WriteLine("khoảng cách là: " + a.khoangcach(b));
            Console.ReadKey();
        }