public static void Main(string[] args) { Console.WriteLine("Kelompok\t\t: TERSISIHKAN"); Console.WriteLine(); Console.WriteLine("Nama\t\t: LA ODE MUHAMAD LASKAR JIHAD"); Console.WriteLine("NIM\t\t: 19.11.2817"); Console.WriteLine("Kelas\t\t: 19 IF 04"); Console.WriteLine(); Console.WriteLine("Nama\t\t: YAHYA ARDIANTO"); Console.WriteLine("NIM\t\t: 19.11.2818"); Console.WriteLine("Kelas\t\t: 19 IF 04"); Console.WriteLine(); Console.WriteLine("Nama\t\t: MUHAMMAD FARHAN ANGGAR"); Console.WriteLine("NIM\t\t: 19.11.2842"); Console.WriteLine("Kelas\t\t: 19 IF 04"); Console.WriteLine(); Console.WriteLine("Nama\t\t: KRISNA WIJAYA"); Console.WriteLine("NIM\t\t: 19.11.2855"); Console.WriteLine("Kelas\t\t: 19 IF 04"); Console.WriteLine(); Console.WriteLine("^^^^ ANDROID ^^^^"); Console.WriteLine(); ACOperatingSystem android; android = new SAMSUNG(); android.pendiri(); android.platform(); android.jenis(); Console.WriteLine(); android = new ASUS(); android.pendiri(); android.platform(); android.jenis(); Console.WriteLine(); Console.WriteLine(" ^^^^ MAKANAN ^^^^"); Console.WriteLine(); Makanan makanan; makanan = new Cilok(); makanan.Asal(); makanan.jenis(); Console.WriteLine(); makanan = new Sosis(); makanan.Asal(); makanan.jenis(); }
public static void Main(string[] args) { Console.WriteLine("Nama\t\t: DHIMAS ALVI HIDAYAH"); Console.WriteLine("NIM\t\t: 19.11.2805"); Console.WriteLine("Kelas\t\t: 19 IF 04"); Console.WriteLine(); Console.WriteLine("^^^^ ANDROID ^^^^"); Console.WriteLine(); ACOperatingSystem android; android = new SAMSUNG(); android.pendiri(); android.platform(); android.jenis(); Console.WriteLine(); android = new ASUS(); android.pendiri(); android.platform(); android.jenis(); Console.WriteLine(); Console.WriteLine(" ^^^^ MAKANAN ^^^^"); Console.WriteLine(); Makanan makanan; makanan = new Cilok(); makanan.Asal(); makanan.jenis(); Console.WriteLine(); makanan = new Sosis(); makanan.Asal(); makanan.jenis(); }