difference() public method

public difference ( int k, double data ) : double
k int
data double
return double
Esempio 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();
 }
Esempio 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();
        }