public static void Main()
Console.WriteLine("Hello World");
Console.Write("Въведете име на продукта: ");
string product = Console.ReadLine().ToLower();
Console.Write("Въведете град: ");
string city = Console.ReadLine().ToLower();
Console.Write("Въведете количество: ");
double quantity = double.Parse(Console.ReadLine());
if (product == "coffee") price = 0.50;
else if (product == "water") price = 0.80;
else if (product == "juice") price = 1.20;
else if (product == "sweets") price = 1.45;
else if (product == "peanuts") price = 1.60;
else Console.WriteLine("Неизвестен продукт в София.");
else if (city == "plovdiv")
if (product == "coffee") price = 0.40;
else if (product == "water") price = 0.70;
else if (product == "juice") price = 1.15;
else if (product == "sweets") price = 1.30;
else if (product == "peanuts") price = 1.50;
else Console.WriteLine("Неизвестен продукт в Пловдив.");
else if (city == "varna")
if (product == "coffee") price = 0.45;
else if (product == "water") price = 0.70;
else if (product == "juice") price = 1.10;
else if (product == "sweets") price = 1.35;
else if (product == "peanuts") price = 1.50;
else Console.WriteLine("Неизвестен продукт във Варна.");
Console.WriteLine("Неизвестен град.");
double totalPrice = price * quantity;
Console.WriteLine($"Общата цена за {quantity} броя {product} в {city} е: {totalPrice:F2} лв.");