using System; using System.Collections; using System.Collections.Generic; class Example { public static void Main() { Random r = new Random(); List l = new List(10); for (int j=0; j<10; j++) { l.Add(r.Next(31)-15); Console.Write("{0} ",l[j]); } int k=0, s=0; while ((k