public void Run() { X = GetNumberFromUser.Invoke(); Y = GetNumberFromUser.Invoke(); MenuPrinter.Invoke(); ResultPrinter.Invoke(Calculate.Invoke(X, Y, GetUserChoice.Invoke())); }
public void Run() { X = GetNumberfromUser.Invoke(); Y = GetNumberfromUser.Invoke(); MenuPrinter.Invoke(); int UserChoice = GetUserChoice.Invoke(); double Result = Calculate.Invoke(X, Y, UserChoice); ResultPrinter.Invoke(Result); }
public Run() { double sum; x = GetNumberFromUser.Invoke(); y = GetNumberFromUser.Invoke(); MenuPrinter.Invoke(); int choice = GetUserChoice.Invoke(); sum = Calculate.Invoke(x, y, choice); }