Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Numerics;
- namespace Demo
- {
- class Program
- {
- static void Main(string[] args)
- {
- double first = double.Parse(Console.ReadLine());
- double second = double.Parse(Console.ReadLine());
- double eps = 0.000001;
- double diff = Math.Max(first, second) - Math.Min(first, second);
- if (diff > eps)
- {
- Console.WriteLine("False");
- }
- else
- {
- Console.WriteLine("True");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment