По-сложни логически проверки - Programming Basics with C# - октомври 2017 [02. Small Shop]
Здравейте , в Judge този код ми дава 86/100 точки.Някой може ли да ми каже каде е грешката....
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace hwnumber4
{
    class Program
    {
        static void Main(string[] args)
        {
            var product = Console.ReadLine();
            var city = Console.ReadLine();
            var quantity = double.Parse(Console.ReadLine());
            var price = 0.00;
            if (city == "Sofia")
            {
                if (product == "coffee")
                {
                    price = 0.5;
                }
                else if (product == "water")
                {
                    price = 0.8;
                }
                else if (product == "beer")
                {
                    price = 1.2;
                }
                else if (product == "sweets")
                {
                    price = 1.45;
                }
                else if (product == "peanuts")
                {
                    price = 1.6;
                }
            }
            else if (city == "Plovdiv")
            {
                if (product == "coffee")
                {
                    price = 0.4;
                }
                else if (product == "water")
                {
                    price = 0.7;
                }
                else if (product == "beer")
                {
                    price = 1.15;
                }
                else if (product == "sweats")
                {
                    price = 1.3;
                }
                else if (product == "peanuts")
                {
                    price = 1.5;
                }
            }
            if (city == "Varna")
            {
                if (product == "coffee")
                {
                    price = 0.45;
                } else if (product == "water")
                {
                    price = 0.7;
                } else if (product == "beer")
                {
                    price = 1.1;
                } else if (product == "sweats")
                {
                    price = 1.35;
                } else if (product == "peanuts")
                {
                    price = 1.55;
                }
                
            }
            var bill = quantity * price;
            Console.WriteLine(bill);
        }
        
    }
}
 
Благодаря ти,стана , от бързане сам писал глупости ..