Ejemplo n.º 1
0
        public static void Main(string[] args)
        {
            //Your code goes here
            Console.WriteLine("Nama\t\t: Nurul Hikmawati");
            Console.WriteLine("NIM\t\t: 19.11.2766");
            Console.WriteLine("Kelas\t\t: 19 IF 03");


            Console.WriteLine();

            Console.WriteLine("==== OS ====");

            Console.WriteLine();

            ACOperatingSystem os;

            os = new MacOS();
            os.pembuat();
            os.kernel();
            os.jenis();

            Console.WriteLine();

            os = new Windows();
            os.pembuat();
            os.kernel();
            os.jenis();


            Console.WriteLine();

            Console.WriteLine("==== HEWAN ====");

            Console.WriteLine();

            IHewan hewan;

            hewan = new Ayam();
            hewan.info();
            hewan.suara();
            hewan.jenis();

            Console.WriteLine();

            hewan = new Kucing();
            hewan.info();
            hewan.suara();
            hewan.jenis();
        }
Ejemplo n.º 2
0
        public static void Main(string[] args)
        {
            //Your code goes here
            Console.WriteLine("Nama\t\t: Farig Maulana Eka Putra");
            Console.WriteLine("NIM\t\t: 19.11.2748");
            Console.WriteLine("Kelas\t\t: 19 IF 03");


            Console.WriteLine();

            Console.WriteLine("==== OS ====");

            Console.WriteLine();

            ACOperatingSystem os;

            os = new MacOS();
            os.pembuat();
            os.kernel();
            os.jenis();

            Console.WriteLine();

            os = new Windows();
            os.pembuat();
            os.kernel();
            os.jenis();


            Console.WriteLine();

            Console.WriteLine("==== HEWAN ====");

            Console.WriteLine();

            IHewan hewan;

            hewan = new Sapi();
            hewan.info();
            hewan.suara();
            hewan.jenis();

            Console.WriteLine();

            hewan = new Kambing();
            hewan.info();
            hewan.suara();
            hewan.jenis();
        }
Ejemplo n.º 3
0
        public static void Main(string[] args)
        {
            //Your code goes here
            Console.WriteLine("Rafif Fauzan Almahdy | 19.11.2750 | IF03 ");


            Console.WriteLine();

            Console.WriteLine("==== OS ====");

            Console.WriteLine();

            ACOperatingSystem os;

            os = new MacOS();
            os.pembuat();
            os.kernel();
            os.jenis();

            Console.WriteLine();

            os = new Windows();
            os.pembuat();
            os.kernel();
            os.jenis();


            Console.WriteLine();

            Console.WriteLine("==== HEWAN ====");

            Console.WriteLine();

            IHewan hewan;

            hewan = new Ayam();
            hewan.info();
            hewan.suara();
            hewan.jenis();

            Console.WriteLine();

            hewan = new Kucing();
            hewan.info();
            hewan.suara();
            hewan.jenis();
        }
Ejemplo n.º 4
0
        public static void Main(string[] args)
        {
            //Nama: Umi Solihah
            //Nim : 19.11.2747

            Console.WriteLine("==== OS ====");

            Console.WriteLine();

            ACOperatingSystem os;

            os = new MacOS();
            os.pembuat();
            os.kernel();
            os.jenis();

            Console.WriteLine();

            os = new Windows();
            os.pembuat();
            os.kernel();
            os.jenis();


            Console.WriteLine();

            Console.WriteLine("==== HEWAN ====");

            Console.WriteLine();

            IHewan hewan;

            hewan = new Ayam();
            hewan.info();
            hewan.suara();
            hewan.jenis();

            Console.WriteLine();

            hewan = new Kucing();
            hewan.info();
            hewan.suara();
            hewan.jenis();
        }
Ejemplo n.º 5
0
        public static void Main(string[] args)
        {
            Console.WriteLine();

            Console.WriteLine("==== OS ====");

            Console.WriteLine();

            ACOperatingSystem os;

            os = new MacOS();
            os.pembuat();
            os.kernel();
            os.jenis();

            Console.WriteLine();

            os = new Linux();
            os.pembuat();
            os.kernel();
            os.jenis();


            Console.WriteLine();

            Console.WriteLine("==== OS ====");

            Console.WriteLine();

            Os1 Os;

            Os = new MacOS1();
            Os.info();
            Os.jenis();
            Os.keuntungan();

            Console.WriteLine();

            Os = new Linux1();
            Os.info();
            Os.jenis();
            Os.keuntungan();
        }
Ejemplo n.º 6
0
        public static void Main(string[] args)
        {
            //Your code goes here
            Console.WriteLine("Nama\t\t: Addnnan Nurwakhid");
            Console.WriteLine("NIM\t\t: 19.11.2736");
            Console.WriteLine("Kelas\t\t: Informatika 03_19");

            Console.WriteLine();
            Console.WriteLine("==== OS ====");
            Console.WriteLine();
            ACOperatingSystem os;

            os = new MacOS();
            os.pembuat();
            os.kernel();
            os.jenis();

            Console.WriteLine();

            os = new Windows();
            os.pembuat();
            os.kernel();
            os.jenis();


            Console.WriteLine();
            Console.WriteLine("==== BENDA ====");
            Console.WriteLine();

            IBenda benda;

            benda = new Handphone();
            benda.info();
            benda.suara();
            benda.jenis();

            Console.WriteLine();
            benda = new Motor();
            benda.info();
            benda.suara();
            benda.jenis();
        }