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