Untitled

 avatar
unknown
csharp
3 years ago
1.1 kB
2
Indexable
using System;

namespace CalismaDosyam
{
    class Program
    {
        static void Main(string[] args)
        //        //        {
        //        //            int sayi2 = 125698;
        //        //            if(sayi2 %82 ==0)

        //        //            {
        //        //                Console.WriteLine("82 sayisinin katidir");

        //        //            }
        //        //            else
        //        //            {
        //        //                Console.WriteLine("82 sayisina tam bolunemez");
        //        //                Console.ReadKey()
        //        //            }
        //        //        }

        {
            Console.Write("Dogum Yili");
            int tarih = int.Parse(Console.ReadLine());
        int yas = 2022 - tarih;
            if (yas > 17)
                    {
                        Console.WriteLine("Ehliyet alabilir.");
                    }
                    else
            {
                Console.WriteLine("Ehliyet alamaz");
                Console.ReadKey();
            }
        }

        
    }
}
Editor is loading...