示例#1
0
        static void Main(string[] args)
        {
            karyawan pegawai = new karyawan
            {
                Nama1 = "Ryan", Nik1 = "2641", Gaji1 = 4000000,
                Nama2 = "Arya", Nik2 = "2627", Gaji2 = 5000000
            };

            pegawai.infoGaji();
            Console.WriteLine();

            pegawai.kenaikanGaji();
            Console.WriteLine();

            Console.ReadKey();
        }
示例#2
0
        static void Main(string[] args)
        {
            karyawan krywn = new karyawan();

            krywn.nama = "Fauzan";
            krywn.nik  = "2319";
            krywn.gaji = 1000000;

            krywn.nama2 = "Boo";
            krywn.nik2  = "2512";
            krywn.gaji2 = 2000000;

            krywn.infoGaji();
            Console.WriteLine();
            krywn.kenaikanGaji();
            Console.WriteLine();
            Console.ReadKey();
        }
示例#3
0
        static void Main(string[] args)
        {
            karyawan krywn = new karyawan();

            krywn.nama = "Bismar";
            krywn.nik  = "0126";
            krywn.gaji = 1000000;

            krywn.nama2 = "cony";
            krywn.nik2  = "0805";
            krywn.gaji2 = 2000000;

            krywn.infoGaji();
            Console.WriteLine();
            krywn.kenaikanGaji();
            Console.WriteLine();
            Console.ReadKey();
        }
示例#4
0
        static void Main(string[] args)
        {
            karyawan krywn = new karyawan();

            krywn.nama = "Faqih";
            krywn.nik  = "1234";
            krywn.gaji = 1000000;

            krywn.nama2 = "Primawan";
            krywn.nik2  = "5678";
            krywn.gaji2 = 2000000;

            krywn.infoGaji();
            Console.WriteLine();
            krywn.kenaikanGaji();
            Console.WriteLine();
            Console.ReadKey();
        }
示例#5
0
        static void Main(string[] args)
        {
            karyawan kry = new karyawan();

            kry.nama = "chandra";
            kry.nik  = "2354";
            kry.gaji = 1000000;

            kry.nama2 = "fauzan";
            kry.nik2  = "1234";
            kry.gaji2 = 2000000;

            kry.infoGaji();
            Console.WriteLine();
            kry.kenaikanGaji();
            Console.WriteLine();
            Console.ReadKey();
        }
示例#6
0
        static void Main(string[] args)
        {
            karyawan krw = new karyawan
            {
                nama1 = "dwi",
                nik1  = "2624",
                gaji1 = 3000000,

                nama2 = "saputro",
                nik2  = "2555",
                gaji2 = 2000000
            };

            krw.infoGaji();
            Console.WriteLine();
            krw.kenaikanGaji();
            Console.WriteLine();
            Console.ReadKey();
        }