static void Main(string[] args)
        {
            Karyawan karyawan1 = new Karyawan(19112640, "M.Fitratul Iman", 1000000);
            Karyawan karyawan2 = new Karyawan(19112650, "Paijo", 2000000);

            Console.WriteLine("NIK \t Nama \t Gaji");
            Console.WriteLine("------------------------------------");
            karyawan1.BK();
            karyawan2.BK();

            Console.WriteLine("\n Asyiiiiinihh naik gaji nih");
            Console.WriteLine(" ");

            Console.WriteLine("NIK \t Nama \t Gaji");
            Console.WriteLine("------------------------------------");
            karyawan1.KenaikanGaji();
            karyawan2.KenaikanGaji();

            Console.ReadKey();
        }
Example #2
0
        static void Main(string[] args)
        {
            Karyawan karyawan1 = new Karyawan(19112640, "Bey Alghozy", 1000000);
            Karyawan karyawan2 = new Karyawan(19112650, "Thorriq", 2000000);

            Console.WriteLine("NIK \t Nama \t Gaji");
            Console.WriteLine("------------------------------------");
            karyawan1.BK();
            karyawan2.BK();

            Console.WriteLine("\n Asyiiiiinihh naik gaji nih");
            Console.WriteLine(" ");

            Console.WriteLine("NIK \t Nama \t Gaji");
            Console.WriteLine("------------------------------------");
            karyawan1.KenaikanGaji();
            karyawan2.KenaikanGaji();

            Console.ReadKey();
        }