﻿using System;

namespace ComparingFloatingPoint
{
    class FloatingPoint
    {
        static void Main()
        {
            Console.WriteLine("Enter the first number: ");
            decimal firstNumber = decimal.Parse(Console.ReadLine());
            Console.WriteLine("Enter the second number: ");
            decimal secondNumber = decimal.Parse(Console.ReadLine());
            bool comparing = (Math.Abs(firstNumber - secondNumber) < 0.000001m);
            if (comparing == false)
                Console.WriteLine("false");
            else
                Console.WriteLine("true");
        }
    }
}
