Beispiel #1
0
 public Soal1(int n)
 {
     LbrBangun = n;
     JmlBaris  = n * 3;
     JmlKolom  = JmlBaris;
     Array2D   = new string[JmlBaris, JmlKolom];
     IsiArray();
     FunctionBase.printArray2D(Array2D);
 }
Beispiel #2
0
 public Soal5(int n, int m)
 {
     JmlBaris  = n;
     JmlKolom  = JmlBaris;
     AngkaAwal = m;
     Array2D   = new string[JmlBaris, JmlKolom];
     IsiArray();
     FunctionBase.printArray2D(Array2D);
 }
Beispiel #3
0
 public Soal8(int n)
 {
     JmlBangun = n;
     JmlBaris  = 2 * n;
     JmlKolom  = JmlBaris;
     LbrBangun = 2;
     Array2D   = new string[JmlBaris, JmlKolom];
     IsiArray();
     FunctionBase.printArray2D(Array2D);
 }
Beispiel #4
0
 public Soal2(int n)
 {
     JmlBangun = 3;
     JmlBaris  = n * 2 - 1;
     JmlKolom  = n * 3;
     LbrBangun = n;
     Array2D   = new string[JmlBaris, JmlKolom];
     IsiArray();
     FunctionBase.printArray2D(Array2D);
 }
Beispiel #5
0
 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);
 }
Beispiel #6
0
 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);
 }