using System;

namespace LambdaTestDrive
{
    class Program
    {
        static Random random => new Random();

        static double GetRandomDouble(int max) => max * random.NextDouble();

        static void PrintValue(double d) => Console.WriteLine($"Wartość wynosi {d:0.0000}.");

        static void Main(string[] args)
        {
            var value = Program.GetRandomDouble(100);
            Program.PrintValue(value);
        }
    }
}
