Three brothers
Здравейте,
Може ли някой да ми помогне да разбера къде греша.
Бих се радвала, ако ми дадете повече обяснения.
https://judge.softuni.bg/Contests/Practice/Index/784#1
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Three_Brothers
{
    class Program
    {
        static void Main(string[] args)
        {
            double firstBrother = double.Parse(Console.ReadLine());
            double secondBrother = double.Parse(Console.ReadLine());
            double thirdBrother = double.Parse(Console.ReadLine());
            double fatherFishing = double.Parse(Console.ReadLine());
            var totalTime = 1 / (1 / firstBrother + 1 / secondBrother + 1 / thirdBrother);
            var breakTime= totalTime * 0.15;
            var remainingTime = fatherFishing - breakTime;
if (remainingTime > 0)
            {
                Console.WriteLine("Yes, there is a surprise-time left-{remaininTime:f0");
            }
            else
            {
                Console.WriteLine("No, there isn’t a surprise - shortage of time -{remaininTime:f0");
            }
        }
    }
}
Благодаря предварително!