21. Реколта
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp2
{
class Program
{
static void Main(string[] args)
{
var xKvMeterLoze = int.Parse(Console.ReadLine());
var yGrozdeForOneKvMeter = double.Parse(Console.ReadLine());
var zNujniLitterVino = int.Parse(Console.ReadLine());
var countWorkers = int.Parse(Console.ReadLine());
var allGrozde = xKvMeterLoze * yGrozdeForOneKvMeter;
var vino = 0.4 * allGrozde / 2.5;
if(vino > zNujniLitterVino)
{
Console.WriteLine($"Good harvest this year! Total wine: {vino} liters.");
Console.WriteLine($"{vino - zNujniLitterVino} liters left -> {(vino - zNujniLitterVino) / countWorkers} liters per person.");
}
else if(vino < zNujniLitterVino)
{
Console.WriteLine($"It will be a tough winter! More {Math.Floor(zNujniLitterVino - vino)} liters wine needed.");
}
}
}
}
judge ми дава 60 точки. Може ли помощ за тази задача https://judge.softuni.bg/Contests/Practice/Index/233#1?Благодаря предварително.