Домашно Bonus score
Не разбирам къде е проблемът?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BonusScore
{
    class Program
    {
        static void Main(string[] args)
        {
            var num = int.Parse(Console.ReadLine());
            double score;
            double add;
            if (num <= 100)
            {
                score = 5;
            }
             if (num > 100||num <= 1000)
                {
                score = 0.2 * num;
                }
             if(num>1000)
            {
                score = 0.1 * num;
            }
            if (num % 2 == 0)
            {
                add = 1;
            }
            if (num % 10 == 5)
            {
                add = 2;
            }
            else
            {
                add = 0;
            }
            Console.WriteLine("Bonus score:{0}",score+add);
            Console.WriteLine("Total score:{0}",score+add+num);
        }
    }
}
Да благодаря за съветите. Но проблемът си остана.Error-CS0165
Грешката произтича от неинициализирането на score.