Загрузка данных


using System;

class Program
{
    static void Main()
    {
        Console.Write("Введите первое число: ");
        int a = int.Parse(Console.ReadLine());

        Console.Write("Введите второе число: ");
        int b = int.Parse(Console.ReadLine());

        Console.Write("Введите третье число: ");
        int c = int.Parse(Console.ReadLine());

        bool found = false;

        if (a % 2 == 0 && a % 3 == 0)
            found = true;

        if (b % 2 == 0 && b % 3 == 0)
            found = true;

        if (c % 2 == 0 && c % 3 == 0)
            found = true;

        if (found)
            Console.WriteLine("Есть число, которое чётное и кратное 3");
        else
            Console.WriteLine("Таких чисел нет");
    }
}