Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
290 B
3
Indexable
Never
            public int getEven(int[] a)
        {
            int chan = a[0];
            for (int i = 0; i < a.Length; i++)
            {
                if (i % 2 == 0)
                {
                   chan = a[i];
                }

            }
            return chan;