using System; namespace exercicios { public class Exercicio3{ public static void Init() { double i,i2; Console.WriteLine("Insert the values (2)..."); i = double.Parse(Console.ReadLine()); i2 = double.Parse(Console.ReadLine()); diferenca(i,i2); } static void diferenca(double n, double n2) { double val = 0; val = n > n2 ? n - n2 : n2 - n; Console.WriteLine("The result being zero means the numbers are equal."); Console.WriteLine("The difference between {0:N2} and {1:N2} is {2:N2}", n,n2,val); } } }