public Soal1(int n) { LbrBangun = n; JmlBaris = n * 3; JmlKolom = JmlBaris; Array2D = new string[JmlBaris, JmlKolom]; IsiArray(); FunctionBase.printArray2D(Array2D); }
public Soal5(int n, int m) { JmlBaris = n; JmlKolom = JmlBaris; AngkaAwal = m; Array2D = new string[JmlBaris, JmlKolom]; IsiArray(); FunctionBase.printArray2D(Array2D); }
public Soal8(int n) { JmlBangun = n; JmlBaris = 2 * n; JmlKolom = JmlBaris; LbrBangun = 2; Array2D = new string[JmlBaris, JmlKolom]; IsiArray(); FunctionBase.printArray2D(Array2D); }
public Soal2(int n) { JmlBangun = 3; JmlBaris = n * 2 - 1; JmlKolom = n * 3; LbrBangun = n; Array2D = new string[JmlBaris, JmlKolom]; IsiArray(); FunctionBase.printArray2D(Array2D); }
public Soal9(int n, int m) { AngkaAwal = n; JmlBangun = m; LbrBangun = 2; JmlBaris = 2; JmlKolom = LbrBangun * m; Array2D = new string[JmlBaris, JmlKolom]; IsiArray(); FunctionBase.printArray2D(Array2D); }
public Soal10(int n, int m, int o) { AngkaAwal = n; Selisih = m; JmlBaris = o * 3; JmlKolom = JmlBaris; LbrBangun = o; Array2D = new string[JmlBaris, JmlKolom]; IsiArray(); FunctionBase.printArray2D(Array2D); }