void Output(double[] xarr, int n,string c) { for (int i = 0; i < n; i++) { Console.WriteLine(c + (i+1) + " = "+xarr[i]); } Console.WriteLine(); }