какъв е проблема
double puzzlePrize = 2.60;
double dollPrize = 3.00;
double teddyBearPrize = 4.10;
double minionPrize = 8.20;
double truckPrize = 2.00;
double excursionPrize = double.Parse(Console.ReadLine());
int puzzles = int.Parse(Console.ReadLine());
int dolls = int.Parse(Console.ReadLine());
int teddyBears = int.Parse(Console.ReadLine());
int minions = int.Parse(Console.ReadLine());
int trucks = int.Parse(Console.ReadLine());
double totalCost = (puzzles * puzzlePrize) +
(dolls * dollPrize) +
(teddyBears * teddyBearPrize) +
(minions * minionPrize) +
(trucks * truckPrize);
int totalToys = puzzles + dolls + teddyBears + minions + trucks;
if (totalCost >= 50)
{
totalCost -= totalCost * 0.25;
}
totalCost -= totalCost * 0.1;
if (totalCost >= excursionPrize)
{
double leftMoney = (totalCost - excursionPrize);
Console.WriteLine($"Yes! {leftMoney:F2} lv left.");
}
else
{
double neededMoney = excursionPrize - totalCost;
Console.WriteLine($"Not enough money! {neededMoney:F2} lv needed.");
}