class elsocsharp { static void Main() { float summa, last, max, min; int i; summa=0; i=0; max=0; string s1; //Foprogram System.Console.WriteLine("PLS input numbers seperate ENTER"); s1=System.Console.ReadLine(); last=float.Parse(s1); min=last; while (last>=0) { summa=summa+last; i=i+1; if (last>max) max=last; if (last2) System.Console.WriteLine("(summa-max-min)/(i-2)= "+(summa-max-min)/(i-2)); else System.Console.WriteLine("Not enough data!"); System.Console.Write("Press enter to exit..."); System.Console.ReadLine(); // enterre var } }