05. Special Numbers
Здравейте.
Моля, посочете грешката или пропуските в кода, поради който "съдията" дава 60 от 100!
Условие:
Special Numbers
A number is special when its sum of digits is 5, 7 or 11.
Write a program to read an integer n and for all numbers in the range 1…n to print the number and if it is
special or not (True / False).
линк: https://softuni.bg/trainings/resources/officedocument/37490/lab-technology-fundamentals-with-csharp-january-2019/2237
код;
using System;
namespace _05._Special_Numbers
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            for (int i = 1; i <= n; i++)
            {
                int sum = 0;
                int num = i; 
                for (int e = 0; e < i.ToString().Length; e++)
                {
                    sum += num % 10;
                    num /= 10; 
                }
                
                if (sum % 5 == 0 || sum % 7 == 0 || sum % 11 == 0)
                {
                    Console.WriteLine($"{i} -> True");
                }
                else
                {
                    Console.WriteLine($"{i} -> False");
                }
            }
        }
    }
}
Здравей,Иво.
Не е за разправяне колко време "утепах" заради "левашко" недоглеждане.
Благодаря за вниманието и помощта.
С пожелания за успех,
Генади