Ejemplo n.º 1
0
 public soal10(int n)
 {
     jmlBaris = (n * n + n) / 2;
     jmlKolom = n * 2 - 1;
     Array2D  = new string[jmlBaris, jmlKolom];
     IsiArray(n);
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 2
0
 public soal02(int n)
 {
     JmlBaris = n;
     JmlKolom = JmlBaris * 2 - 1;
     Array2D  = new string[JmlBaris, JmlKolom];
     IsiArray();
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 3
0
 public Soal01(int n)
 {
     JmlhBaris = ((n * 2) - 1) + (n * 2);
     JmlhKolom = JmlhBaris;
     Array2D   = new string[JmlhBaris, JmlhKolom];
     IsiArray(n);
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 4
0
 public Latihankoding02(int n)
 {
     JumlahBaris = n;
     JumlahKolom = n;
     Array2D     = new string[JumlahBaris, JumlahKolom];
     IsiArray();
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 5
0
 public posttest(int n)
 {
     jumlahbaris = n;
     jumlahkolom = n * n - n + 1;
     Array2D     = new string[jumlahbaris, jumlahkolom];
     IsiArray2D(n);
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 6
0
 public Soal01(int n)
 {
     JumlahBaris = n * n;
     JumlahKolom = (n * 2 - 1) * 2;
     Array2D     = new string[JumlahBaris, JumlahKolom];
     IsiArray(n);
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 7
0
 public soal08(int n)
 {
     jmlBaris = n * n;
     jmlKolom = n * n;
     Array2D  = new String[jmlBaris, jmlKolom];
     IsiArray(n);
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 8
0
 public PR3(int n)
 {
     JmlhBaris = n * 2 + 1;
     JmlhKolom = (n * 2) + (n * 2 - 1);
     Array2D   = new string[JmlhBaris, JmlhKolom];
     IsiArray(n);
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 9
0
 public Soal10(int n1, int n2)
 {
     JumlahBaris = n1;
     JumlahKolom = (n1 * n2) - (n2 - 1);
     Array2D     = new string[JumlahBaris, JumlahKolom];
     isiArray(n2);
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 10
0
 public Soal06(int n)
 {
     JmlBaris = n;
     JmlKolom = (n * n) + (n - 1);
     Array2D  = new string[JmlBaris, JmlKolom];
     isiArray(n);
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 11
0
 public SoalPR1(int n)
 {
     JmlBaris = 3 * n + (n - 1);
     JmlKolom = JmlBaris;
     Array2D  = new string[JmlBaris, JmlKolom];
     isiArray(n);
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 12
0
 public PR01(int n)
 {
     JmlhBaris = (n * n + n) / 2;
     JmlhKolom = (n * n);
     Array2D   = new string[JmlhBaris, JmlhKolom];
     isiArray(n);
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 13
0
 public Soal08(int n)
 {
     JmlhBaris = n;                                //mendefinisikan JmlhBaris
     JmlhKolom = n;                                //mendefinisikan JmlhKolom
     Array2D   = new string[JmlhBaris, JmlhKolom]; //mendefinisikan array (didalam if), sebagai pengganti console write
     IsiArray();
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 14
0
       public soal01 (int n)
	{
        JmlBaris = rere;
        JmlKolom = rere;
        Array2D = new String[JmlBaris, JmlKolom];
        IsiArray2D();
        FunctionBase.CetakArray(Array2D)
	}
Ejemplo n.º 15
0
 public Soal10(int n1, int n2)
 {
     JmlhBaris = n1;
     JmlhKolom = (n2 * n1) - (n2 - 1);
     Array2D   = new string[JmlhBaris, JmlhKolom];
     isiArray(n2);
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 16
0
 public PR2(int n)
 {
     jumlahbaris = n + 2;
     jumlahkolom = (n * n + 5 * n) / 2;
     Array2D     = new string[jumlahbaris, jumlahkolom];
     IsiArray2D(n);
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 17
0
 public Soal03(int n)
 {
     JumlahBaris = n * 2 + 1;
     JumlahKolom = ((n * 2) - 1) + n * 2;
     Array2D     = new string[JumlahBaris, JumlahKolom];
     IsiArray(n);
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 18
0
 public PostTest(int n)
 {
     JumlahBaris = n * n;
     JumlahKolom = JumlahBaris;
     Array2d     = new string[JumlahBaris, JumlahKolom];
     isiArray(n);
     FunctionBase.CetakArray();
 }
Ejemplo n.º 19
0
 public Soal09(int n, int b)
 {
     JumlahBaris = n;
     JumlahKolom = (n * b) - (b - 1);
     Array2d     = new string[JumlahBaris, JumlahKolom];
     isiArray(b);
     FunctionBase.CetakArray(Array2d);
 }
Ejemplo n.º 20
0
 public PR3(int n)
 {
     jumlahbaris = 2 * n + 1;
     jumlahkolom = 4 * n - 1;
     Array2D     = new string[jumlahbaris, jumlahkolom];
     IsiArray2D(n);
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 21
0
 public soal7(int n)
 {
     jumlahbaris = n * n;
     jumlahkolom = n * n;
     Array2D     = new string[jumlahbaris, jumlahkolom];
     IsiArray2D(n);
     FunctionBase.CetakArray(Array2D);
 }
Ejemplo n.º 22
0
 public SoalPR03(int n)
 {
     JmlBaris = n * 2 + 1;
     JmlKolom = n * 2 + (n * 2 - 1);
     Array2D  = new string[JmlBaris, JmlKolom];
     isiArray(n);
     FunctionBase.CetakArray(Array2D);
 }