difference() public method

public difference ( int k, double data ) : double
k int
data double
return double
Ejemplo n.º 1
0
 static void Main(string[] args)
 {
     MovingAvg x = new MovingAvg();
     double[] a = { 3, 8, 9, 15 };
     Console.WriteLine(x.difference(2,a));
     Console.ReadLine();
 }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            MovingAvg x = new MovingAvg();

            double[] a = { 3, 8, 9, 15 };
            Console.WriteLine(x.difference(2, a));
            Console.ReadLine();
        }