using System;

namespace ReturnThreeValues
{
    class Program
    {
        public static int ReturnThreeValues(int value, out double half, out int twice)
        {
            half = value / 2f;
            twice = value * 2;
            return value + 1;
        }

        static void Main(string[] args)
        {
            Console.Write("Podaj liczbę: ");
            if (int.TryParse(Console.ReadLine(), out int input))
            {
                var output1 = ReturnThreeValues(input, out double output2, out int output3);

                Console.WriteLine("Dane wyjściowe: plus jeden = {0}, połowa = {1:F}, dwukrotność = {2}",
                    output1, output2, output3);
            }
        }

    }
}
