travelling Nested loops C# Judge 70/100
Някой има ли идея къде греша?
using System;
namespace Travelling
{
class Program
{
static void Main(string[] args)
{
string destination = Console.ReadLine();
while (destination != "End")
{
int minBudget = int.Parse(Console.ReadLine());
int savedMoney = 0;
while (savedMoney < minBudget)
{
int sum = int.Parse(Console.ReadLine());
savedMoney += sum;
}
Console.WriteLine($"Going to {destination}!");
destination = Console.ReadLine();
}
}
}
}