Esempio n. 1
0
    public static void Main()
    {
        Console.WriteLine("Nama     : Dian Pratama");
        Console.WriteLine("NIM      : 19.11.2763");
        Console.WriteLine("Kelas    : Informatika 03");
        Console.WriteLine("");

        Karyawan karyawan1 = new Karyawan();
        Karyawan karyawan2 = new Karyawan();
        Karyawan karyawan3 = new Karyawan();

        karyawan1.No   = 1;
        karyawan1.Nik  = 19112763;
        karyawan1.Nama = "Dian Pratama  ";
        karyawan1.Gaji = 2000000;

        karyawan2.No   = 2;
        karyawan2.Nik  = 65747377;
        karyawan2.Nama = "Reyhan A      ";
        karyawan2.Gaji = 1000000;

        karyawan3.No   = 3;
        karyawan3.Nik  = 54636222;
        karyawan3.Nama = "Al-Zahran     ";
        karyawan3.Gaji = -109990;

        Console.WriteLine("No |NIK      |Nama             |Gaji       ");
        Console.WriteLine("==========================================");
        karyawan1.InfoKaryawan();
        karyawan2.InfoKaryawan();
        karyawan3.InfoKaryawan();
        Console.WriteLine("");
        Console.WriteLine("Kenaikan Gaji Bulan ini 20%");
        Console.WriteLine("");
        Console.WriteLine("No |   NIK   |Nama             |Gaji     ");
        Console.WriteLine("==========================================");
        karyawan1.BonusGaji();
        karyawan2.BonusGaji();
        karyawan3.BonusGaji();
    }
    public static void Main()
    {
        Console.WriteLine("Nama  : Haris Yusuf Irwanto");
        Console.WriteLine("NIM   : 19.11.2727");
        Console.WriteLine("Kelas : Informatika 03");
        Console.WriteLine("");

        Karyawan karyawan1 = new Karyawan();
        Karyawan karyawan2 = new Karyawan();
        Karyawan karyawan3 = new Karyawan();

        karyawan1.No   = 1;
        karyawan1.Nik  = 19112727;
        karyawan1.Nama = "Yusuf Irwanto";
        karyawan1.Gaji = 2000000;

        karyawan2.No   = 2;
        karyawan2.Nik  = 19862904;
        karyawan2.Nama = "Firman Saputro";
        karyawan2.Gaji = 1000000;

        karyawan3.No   = 3;
        karyawan3.Nik  = 19764973;
        karyawan3.Nama = "Yoga Pradana";
        karyawan3.Gaji = -100;

        Console.WriteLine("No   NIK/Nama					Gaji Bulanan    ");
        Console.WriteLine("---------------------------------------------");
        karyawan1.InfoKaryawan();
        karyawan2.InfoKaryawan();
        karyawan3.InfoKaryawan();
        Console.WriteLine("");
        Console.WriteLine("Asyiiiik kenaikan gaji 10%!!!");
        Console.WriteLine("");
        Console.WriteLine("No   NIK/Nama					Gaji Bulanan    ");
        Console.WriteLine("---------------------------------------------");
        karyawan1.BonusGaji();
        karyawan2.BonusGaji();
        karyawan3.BonusGaji();
    }
Esempio n. 3
0
    public static void Main()
    {
        Console.WriteLine("Nama : Eros Eka Syahputra");
        Console.WriteLine("NIM  : 19.11.2786");
        Console.WriteLine("");

        Karyawan karyawan1 = new Karyawan();
        Karyawan karyawan2 = new Karyawan();
        Karyawan karyawan3 = new Karyawan();

        karyawan1.No   = 1;
        karyawan1.Nik  = 19112786;
        karyawan1.Nama = "Eros Eka";
        karyawan1.Gaji = 2750000;

        karyawan2.No   = 2;
        karyawan2.Nik  = 19172636;
        karyawan2.Nama = "Robby";
        karyawan2.Gaji = 1500000;

        karyawan3.No   = 3;
        karyawan3.Nik  = 19216767;
        karyawan3.Nama = "Agus";
        karyawan3.Gaji = -200;

        Console.WriteLine("No -   NIK-Nama-Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.InfoKaryawan();
        karyawan2.InfoKaryawan();
        karyawan3.InfoKaryawan();
        Console.WriteLine("");
        Console.WriteLine("Good dapat kenaikan gaji 10%");
        Console.WriteLine("");
        Console.WriteLine("No -   NIK-Nama-Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.BonusGaji();
        karyawan2.BonusGaji();
        karyawan3.BonusGaji();
    }
Esempio n. 4
0
    public static void Main()
    {
        Console.WriteLine("Nama : alfiyan naja");
        Console.WriteLine("NIM  : 19.11.2744");
        Console.WriteLine("");

        Karyawan karyawan1 = new Karyawan();
        Karyawan karyawan2 = new Karyawan();
        Karyawan karyawan3 = new Karyawan();

        karyawan1.No   = 1;
        karyawan1.Nik  = 19112744;
        karyawan1.Nama = "alfiyan naja";
        karyawan1.Gaji = 4000000;

        karyawan2.No   = 2;
        karyawan2.Nik  = 19225866;
        karyawan2.Nama = "nugroho";
        karyawan2.Gaji = 3000000;

        karyawan3.No   = 3;
        karyawan3.Nik  = 19334417;
        karyawan3.Nama = "ardhi saputra";
        karyawan3.Gaji = -200;

        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.InfoKaryawan();
        karyawan2.InfoKaryawan();
        karyawan3.InfoKaryawan();
        Console.WriteLine("");
        Console.WriteLine("selamat Anda mendapat kenaikan gaji 10%");
        Console.WriteLine("");
        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.BonusGaji();
        karyawan2.BonusGaji();
        karyawan3.BonusGaji();
    }
Esempio n. 5
0
    public static void Main()
    {
        Console.WriteLine("Nama : Angga Deva Pratama");
        Console.WriteLine("NIM  : 19.11.2767");
        Console.WriteLine("");

        Karyawan karyawan1 = new Karyawan();
        Karyawan karyawan2 = new Karyawan();
        Karyawan karyawan3 = new Karyawan();

        karyawan1.No   = 1;
        karyawan1.Nik  = 19112767;
        karyawan1.Nama = "Angga Deva Pratama";
        karyawan1.Gaji = 7000000;

        karyawan2.No   = 2;
        karyawan2.Nik  = 19112747;
        karyawan2.Nama = "Dizar Muhammad";
        karyawan2.Gaji = 5000000;

        karyawan3.No   = 3;
        karyawan3.Nik  = 19112787;
        karyawan3.Nama = "Romo Fauzi";
        karyawan3.Gaji = -900;

        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.InfoKaryawan();
        karyawan2.InfoKaryawan();
        karyawan3.InfoKaryawan();
        Console.WriteLine("");
        Console.WriteLine("Mantap dapat kenaikan gaji 10%");
        Console.WriteLine("");
        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.BonusGaji();
        karyawan2.BonusGaji();
        karyawan3.BonusGaji();
    }
    public static void Main()
    {
        Console.WriteLine("Nama : Dimas Aldi Sanjaya");
        Console.WriteLine("NIM  : 19.11.2745");
        Console.WriteLine("");

        Karyawan karyawan1 = new Karyawan();
        Karyawan karyawan2 = new Karyawan();
        Karyawan karyawan3 = new Karyawan();

        karyawan1.No   = 1;
        karyawan1.Nik  = 19112745;
        karyawan1.Nama = "Dimas Aldi";
        karyawan1.Gaji = 4500000;

        karyawan2.No   = 2;
        karyawan2.Nik  = 19223423;
        karyawan2.Nama = "Akhmad Rukiyat";
        karyawan2.Gaji = 2300000;

        karyawan3.No   = 3;
        karyawan3.Nik  = 19332020;
        karyawan3.Nama = "Albertus Joshepim";
        karyawan3.Gaji = -100;

        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.InfoKaryawan();
        karyawan2.InfoKaryawan();
        karyawan3.InfoKaryawan();
        Console.WriteLine("");
        Console.WriteLine("GOOD JOB! Kenaikan gaji 10%");
        Console.WriteLine("");
        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.BonusGaji();
        karyawan2.BonusGaji();
        karyawan3.BonusGaji();
    }
    public static void Main()
    {
        Console.WriteLine("Nama : Basten Hugo Simanungkalit");
        Console.WriteLine("NIM  : 19.11.2740");
        Console.WriteLine("");

        Karyawan karyawan1 = new Karyawan();
        Karyawan karyawan2 = new Karyawan();
        Karyawan karyawan3 = new Karyawan();

        karyawan1.No   = 1;
        karyawan1.Nik  = 190002740;
        karyawan1.Nama = "Van Basten";
        karyawan1.Gaji = 3000000;

        karyawan2.No   = 2;
        karyawan2.Nik  = 1900017002;
        karyawan2.Nama = "Prasasty Ananda";
        karyawan2.Gaji = 1000000;

        karyawan3.No   = 3;
        karyawan3.Nik  = 19332951;
        karyawan3.Nama = "Hugo Sanchez";
        karyawan3.Gaji = -100;

        Console.WriteLine("| No |   NIK | Nama | Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.InfoKaryawan();
        karyawan2.InfoKaryawan();
        karyawan3.InfoKaryawan();
        Console.WriteLine("");
        Console.WriteLine("Naik gaji coy 10%");
        Console.WriteLine("");
        Console.WriteLine("| No |   NIK | Nama | Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.BonusGaji();
        karyawan2.BonusGaji();
        karyawan3.BonusGaji();
    }
Esempio n. 8
0
    public static void Main()
    {
        Console.WriteLine("Nama : Sangaji");
        Console.WriteLine("NIM  : 19.11.2730");
        Console.WriteLine("");

        Karyawan karyawan1 = new Karyawan();
        Karyawan karyawan2 = new Karyawan();
        Karyawan karyawan3 = new Karyawan();

        karyawan1.No   = 1;
        karyawan1.Nik  = 19110101;
        karyawan1.Nama = "ahmad albani";
        karyawan1.Gaji = 3000000;

        karyawan2.No   = 2;
        karyawan2.Nik  = 19226969;
        karyawan2.Nama = "aldi kurniawan";
        karyawan2.Gaji = 1000000;

        karyawan3.No   = 3;
        karyawan3.Nik  = 19332222;
        karyawan3.Nama = "alpa filliandi";
        karyawan3.Gaji = -100;

        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.InfoKaryawan();
        karyawan2.InfoKaryawan();
        karyawan3.InfoKaryawan();
        Console.WriteLine("");
        Console.WriteLine("Alhamdulilah kenaikan gaji 10%");
        Console.WriteLine("");
        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.BonusGaji();
        karyawan2.BonusGaji();
        karyawan3.BonusGaji();
    }
    public static void Main()
    {
        Console.WriteLine("Nama : Muhammad Anwar Riyady");
        Console.WriteLine("NIM  : 19.11.2749");
        Console.WriteLine("");

        Karyawan karyawan1 = new Karyawan();
        Karyawan karyawan2 = new Karyawan();
        Karyawan karyawan3 = new Karyawan();

        karyawan1.No   = 1;
        karyawan1.Nik  = 17540981;
        karyawan1.Nama = "Muhammad Anwar Riyady";
        karyawan1.Gaji = 3000000;

        karyawan2.No   = 2;
        karyawan2.Nik  = 17012367;
        karyawan2.Nama = "Arya Yudiztira";
        karyawan2.Gaji = 1000000;

        karyawan3.No   = 3;
        karyawan3.Nik  = 17507321;
        karyawan3.Nama = "Ryan Agustiani";
        karyawan3.Gaji = -100;

        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.InfoKaryawan();
        karyawan2.InfoKaryawan();
        karyawan3.InfoKaryawan();
        Console.WriteLine("");
        Console.WriteLine("Asekkkk dapat kenaikan gaji 10%");
        Console.WriteLine("");
        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.BonusGaji();
        karyawan2.BonusGaji();
        karyawan3.BonusGaji();
    }
Esempio n. 10
0
    public static void Main()
    {
        Console.WriteLine("Nama : Kelvin Pratama");
        Console.WriteLine("NIM  : 19.11.2791");
        Console.WriteLine("");

        Karyawan karyawan1 = new Karyawan();
        Karyawan karyawan2 = new Karyawan();
        Karyawan karyawan3 = new Karyawan();

        karyawan1.No   = 1;
        karyawan1.Nik  = 19112791;
        karyawan1.Nama = "Kelvin Pratama";
        karyawan1.Gaji = 3000000;

        karyawan2.No   = 2;
        karyawan2.Nik  = 19222951;
        karyawan2.Nama = "Anwar";
        karyawan2.Gaji = 1000000;

        karyawan3.No   = 3;
        karyawan3.Nik  = 19332951;
        karyawan3.Nama = "Angga";
        karyawan3.Gaji = -100;

        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.InfoKaryawan();
        karyawan2.InfoKaryawan();
        karyawan3.InfoKaryawan();
        Console.WriteLine("");
        Console.WriteLine("Mantap dapat kenaikan gaji 10%");
        Console.WriteLine("");
        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.BonusGaji();
        karyawan2.BonusGaji();
        karyawan3.BonusGaji();
    }
Esempio n. 11
0
    public static void Main()
    {
        Console.WriteLine("Nama : Farig Maulana");
        Console.WriteLine("NIM  : 19.11.2748");
        Console.WriteLine("");

        Karyawan karyawan1 = new Karyawan();
        Karyawan karyawan2 = new Karyawan();
        Karyawan karyawan3 = new Karyawan();

        karyawan1.No   = 1;
        karyawan1.Nik  = 19112748;
        karyawan1.Nama = "Farig Maulana";
        karyawan1.Gaji = 2000000;

        karyawan2.No   = 2;
        karyawan2.Nik  = 19112626;
        karyawan2.Nama = "Gunawan";
        karyawan2.Gaji = 1000000;

        karyawan3.No   = 3;
        karyawan3.Nik  = 19112224;
        karyawan3.Nama = "Fajar Prayogo";
        karyawan3.Gaji = -100;

        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.InfoKaryawan();
        karyawan2.InfoKaryawan();
        karyawan3.InfoKaryawan();
        Console.WriteLine("");
        Console.WriteLine("Mantap Betul dapat kenaikan gaji 10%");
        Console.WriteLine("");
        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.BonusGaji();
        karyawan2.BonusGaji();
        karyawan3.BonusGaji();
    }
    public static void Main()
    {
        Console.WriteLine("Nick name : rio Agfriyansyah wardana");
        Console.WriteLine("NIM  : 19.11.2754");
        Console.WriteLine("");

        Karyawan karyawan1 = new Karyawan();
        Karyawan karyawan2 = new Karyawan();
        Karyawan karyawan3 = new Karyawan();

        karyawan1.No   = 1;
        karyawan1.Nik  = 20030401;
        karyawan1.Nama = "rio Agfriyansyah wardana";
        karyawan1.Gaji = 1000000;

        karyawan2.No   = 2;
        karyawan2.Nik  = 20030402;
        karyawan2.Nama = "agus tole";
        karyawan2.Gaji = 2000000;

        karyawan3.No   = 3;
        karyawan3.Nik  = 20030403;
        karyawan3.Nama = "hardianto";
        karyawan3.Gaji = 2500000;

        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.InfoKaryawan();
        karyawan2.InfoKaryawan();
        karyawan3.InfoKaryawan();
        Console.WriteLine("");
        Console.WriteLine("Mantap dapat kenaikan gaji 30%");
        Console.WriteLine("");
        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.BonusGaji();
        karyawan2.BonusGaji();
        karyawan3.BonusGaji();
    }
    public static void Main()
    {
        Console.WriteLine("Nama : Farid Achmad Prasetyo");
        Console.WriteLine("NIM  : 19.11.2753");
        Console.WriteLine("");

        Karyawan karyawan1 = new Karyawan();
        Karyawan karyawan2 = new Karyawan();
        Karyawan karyawan3 = new Karyawan();

        karyawan1.No   = 1;
        karyawan1.Nik  = 19110001;
        karyawan1.Nama = "Paijo";
        karyawan1.Gaji = 3000000;

        karyawan2.No   = 2;
        karyawan2.Nik  = 19110002;
        karyawan2.Nama = "Tarjo";
        karyawan2.Gaji = 1000000;

        karyawan3.No   = 3;
        karyawan3.Nik  = 19110003;
        karyawan3.Nama = "Tejo";
        karyawan3.Gaji = -1;

        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.InfoKaryawan();
        karyawan2.InfoKaryawan();
        karyawan3.InfoKaryawan();
        Console.WriteLine("");
        Console.WriteLine("Selamat Anda Dapat Bonus Insentif 10%");
        Console.WriteLine("");
        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.BonusGaji();
        karyawan2.BonusGaji();
        karyawan3.BonusGaji();
    }
        static void Main(string[] args)
        {
            Console.WriteLine("Nama : hernanda giri");
            Console.WriteLine("NIM : 19.11.2761");
            Console.WriteLine("");

            Karyawan karyawan1 = new Karyawan();
            Karyawan karyawan2 = new Karyawan();
            Karyawan karyawan3 = new Karyawan();

            karyawan1.NO   = 1;
            karyawan1.NIK  = 19112761;
            karyawan1.NAMA = "hernanda";
            karyawan1.GAJI = 3000000;

            karyawan2.NO   = 2;
            karyawan2.NIK  = 19112762;
            karyawan2.NAMA = "giri";
            karyawan2.GAJI = 2000000;

            karyawan3.NO   = 3;
            karyawan3.NIK  = 19112763;
            karyawan3.NAMA = "pramudita";
            karyawan3.GAJI = -10;

            Console.WriteLine("No /     NIK/NAMA/GAJI");
            Console.WriteLine("-----------------------");
            karyawan1.InfoKaryawan();
            karyawan2.InfoKaryawan();
            karyawan3.InfoKaryawan();
            Console.WriteLine("");
            Console.WriteLine("Mantap dapat kenaikan gai 10%");
            Console.WriteLine("");
            Console.WriteLine("No /     NIK/NAMA/GAJI");
            Console.WriteLine("------------------------");
            karyawan1.BonusGaji();
            karyawan2.BonusGaji();
            karyawan3.BonusGaji();
        }
Esempio n. 15
0
	public static void Main()
	{
		Console.WriteLine("Nama : Nurul hikmawati");
            Console.WriteLine("NIM  : 19.11.2766");
            Console.WriteLine("");

            Karyawan karyawan1 = new Karyawan();
            Karyawan karyawan2 = new Karyawan();
            Karyawan karyawan3 = new Karyawan();

            karyawan1.No = 1;
            karyawan1.Nik = 19112766;
            karyawan1.Nama = "Nurul hikmawati";
            karyawan1.Gaji = 3000000;

            karyawan2.No = 2;
            karyawan2.Nik = 19222977;
            karyawan2.Nama = "Lala ";
            karyawan2.Gaji = 1000000;

            karyawan3.No = 3;
            karyawan3.Nik = 1935671;
            karyawan3.Nama = "Bagas";
            karyawan3.Gaji = -100;

            Console.WriteLine("No /   NIK/Nama/Gaji     ");
            Console.WriteLine("----------------------------------------");
            karyawan1.InfoKaryawan();
            karyawan2.InfoKaryawan();
            karyawan3.InfoKaryawan();
            Console.WriteLine("");
            Console.WriteLine("Mantap dapat kenaikan gaji 10%");
            Console.WriteLine("");
            Console.WriteLine("No /   NIK/Nama/Gaji     ");
            Console.WriteLine("----------------------------------------");
            karyawan1.BonusGaji();
            karyawan2.BonusGaji();
            karyawan3.BonusGaji();
	}
Esempio n. 16
0
    public static void Main()
    {
        Console.WriteLine("Nama : umi solihah");
        Console.WriteLine("NIM  : 19.11.2747");
        Console.WriteLine("");

        Karyawan karyawan1 = new Karyawan();
        Karyawan karyawan2 = new Karyawan();
        Karyawan karyawan3 = new Karyawan();

        karyawan1.No   = 1;
        karyawan1.Nik  = 19112747;
        karyawan1.Nama = "umi solihah";
        karyawan1.Gaji = 3500000;

        karyawan2.No   = 2;
        karyawan2.Nik  = 19112732;
        karyawan2.Nama = "yuniar andwi";
        karyawan2.Gaji = 2000000;

        karyawan3.No   = 3;
        karyawan3.Nik  = 19112766;
        karyawan3.Nama = "nurul hikma";
        karyawan3.Gaji = -50;

        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.InfoKaryawan();
        karyawan2.InfoKaryawan();
        karyawan3.InfoKaryawan();
        Console.WriteLine("");
        Console.WriteLine("Anda dapat kenaikan gaji 10%");
        Console.WriteLine("");
        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.BonusGaji();
        karyawan2.BonusGaji();
        karyawan3.BonusGaji();
    }
Esempio n. 17
0
    public static void Main()
    {
        Console.WriteLine("Nama : Faisal Siregar");
        Console.WriteLine("NIM  : 19.11.2790");
        Console.WriteLine("");

        Karyawan karyawan1 = new Karyawan();
        Karyawan karyawan2 = new Karyawan();
        Karyawan karyawan3 = new Karyawan();

        karyawan1.No   = 1;
        karyawan1.Nik  = 19112790;
        karyawan1.Nama = "Faisal";
        karyawan1.Gaji = 3000000;

        karyawan2.No   = 2;
        karyawan2.Nik  = 19222951;
        karyawan2.Nama = "Sahroni";
        karyawan2.Gaji = 1000000;

        karyawan3.No   = 3;
        karyawan3.Nik  = 19332951;
        karyawan3.Nama = "Siregar";
        karyawan3.Gaji = -100;

        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.InfoKaryawan();
        karyawan2.InfoKaryawan();
        karyawan3.InfoKaryawan();
        Console.WriteLine("");
        Console.WriteLine("Mantap dapat kenaikan gaji 10%");
        Console.WriteLine("");
        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("----------------------------------------");
        karyawan1.BonusGaji();
        karyawan2.BonusGaji();
        karyawan3.BonusGaji();
    }
    public static void Main()
    {
        Console.WriteLine("Nama : Ikhsan Rahmansyah");
        Console.WriteLine("NIM  : 19.11.2775");
        Console.WriteLine("");

        Karyawan karyawan1 = new Karyawan();
        Karyawan karyawan2 = new Karyawan();
        Karyawan karyawan3 = new Karyawan();

        karyawan1.No   = 1;
        karyawan1.Nik  = 19112775;
        karyawan1.Nama = "Ikhsan Rahmansyah";
        karyawan1.Gaji = 3000000;

        karyawan2.No   = 2;
        karyawan2.Nik  = 19122775;
        karyawan2.Nama = "Dimas Agus";
        karyawan2.Gaji = 1000000;

        karyawan3.No   = 3;
        karyawan3.Nik  = 19132775;
        karyawan3.Nama = "Bejo Setiawan";
        karyawan3.Gaji = -100;

        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("========================================");
        karyawan1.InfoKaryawan();
        karyawan2.InfoKaryawan();
        karyawan3.InfoKaryawan();
        Console.WriteLine("");
        Console.WriteLine("Naisss naik gaji slurr 10%");
        Console.WriteLine("");
        Console.WriteLine("No /   NIK/Nama/Gaji     ");
        Console.WriteLine("========================================");
        karyawan1.BonusGaji();
        karyawan2.BonusGaji();
        karyawan3.BonusGaji();
    }
    public static void Main()
    {
        Console.WriteLine("Rafif Fauzan Almahdy | IF03 | 19.11.2750");
        Console.WriteLine("");

        Karyawan karyawan1 = new Karyawan();
        Karyawan karyawan2 = new Karyawan();
        Karyawan karyawan3 = new Karyawan();

        karyawan1.No   = 1;
        karyawan1.Nik  = 19112750;
        karyawan1.Nama = "Haidar Azhar";
        karyawan1.Gaji = 3500000;

        karyawan2.No   = 2;
        karyawan2.Nik  = 19112751;
        karyawan2.Nama = "Ali Akbar";
        karyawan2.Gaji = 2000000;

        karyawan3.No   = 3;
        karyawan3.Nik  = 19332951;
        karyawan3.Nama = "Farhan Setiawan";
        karyawan3.Gaji = -50000;

        Console.WriteLine("No.   NIK | Nama | Gaji     ");
        Console.WriteLine("=======================================");
        karyawan1.InfoKaryawan();
        karyawan2.InfoKaryawan();
        karyawan3.InfoKaryawan();
        Console.WriteLine("");
        Console.WriteLine("Kenaikan gaji 10%");
        Console.WriteLine("");
        Console.WriteLine("No.   NIK | Nama | Gaji     ");
        Console.WriteLine("=======================================");
        karyawan1.BonusGaji();
        karyawan2.BonusGaji();
        karyawan3.BonusGaji();
    }