public void Run() { inputOutput.WriteString("Please enter how many number you wish to insert: "); int howMany = inputOutput.ReadNumber(); for (int i = 1; i <= howMany; i++) { inputOutput.WriteString($"Value[{i}]: "); statisticCalculator.AddValue(inputOutput.ReadValue()); } statisticCalculator.Calculate(); inputOutput.WriteString($"Min: {statisticCalculator.Min}"); inputOutput.WriteString($"Max: {statisticCalculator.Max}"); inputOutput.WriteString($"Average: {statisticCalculator.Average}"); inputOutput.WriteString($"Deviatio: {statisticCalculator.Deviation}"); }