public soal10(int n) { jmlBaris = (n * n + n) / 2; jmlKolom = n * 2 - 1; Array2D = new string[jmlBaris, jmlKolom]; IsiArray(n); FunctionBase.CetakArray(Array2D); }
public soal02(int n) { JmlBaris = n; JmlKolom = JmlBaris * 2 - 1; Array2D = new string[JmlBaris, JmlKolom]; IsiArray(); FunctionBase.CetakArray(Array2D); }
public Soal01(int n) { JmlhBaris = ((n * 2) - 1) + (n * 2); JmlhKolom = JmlhBaris; Array2D = new string[JmlhBaris, JmlhKolom]; IsiArray(n); FunctionBase.CetakArray(Array2D); }
public Latihankoding02(int n) { JumlahBaris = n; JumlahKolom = n; Array2D = new string[JumlahBaris, JumlahKolom]; IsiArray(); FunctionBase.CetakArray(Array2D); }
public posttest(int n) { jumlahbaris = n; jumlahkolom = n * n - n + 1; Array2D = new string[jumlahbaris, jumlahkolom]; IsiArray2D(n); FunctionBase.CetakArray(Array2D); }
public Soal01(int n) { JumlahBaris = n * n; JumlahKolom = (n * 2 - 1) * 2; Array2D = new string[JumlahBaris, JumlahKolom]; IsiArray(n); FunctionBase.CetakArray(Array2D); }
public soal08(int n) { jmlBaris = n * n; jmlKolom = n * n; Array2D = new String[jmlBaris, jmlKolom]; IsiArray(n); FunctionBase.CetakArray(Array2D); }
public PR3(int n) { JmlhBaris = n * 2 + 1; JmlhKolom = (n * 2) + (n * 2 - 1); Array2D = new string[JmlhBaris, JmlhKolom]; IsiArray(n); FunctionBase.CetakArray(Array2D); }
public Soal10(int n1, int n2) { JumlahBaris = n1; JumlahKolom = (n1 * n2) - (n2 - 1); Array2D = new string[JumlahBaris, JumlahKolom]; isiArray(n2); FunctionBase.CetakArray(Array2D); }
public Soal06(int n) { JmlBaris = n; JmlKolom = (n * n) + (n - 1); Array2D = new string[JmlBaris, JmlKolom]; isiArray(n); FunctionBase.CetakArray(Array2D); }
public SoalPR1(int n) { JmlBaris = 3 * n + (n - 1); JmlKolom = JmlBaris; Array2D = new string[JmlBaris, JmlKolom]; isiArray(n); FunctionBase.CetakArray(Array2D); }
public PR01(int n) { JmlhBaris = (n * n + n) / 2; JmlhKolom = (n * n); Array2D = new string[JmlhBaris, JmlhKolom]; isiArray(n); FunctionBase.CetakArray(Array2D); }
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); }
public soal01 (int n) { JmlBaris = rere; JmlKolom = rere; Array2D = new String[JmlBaris, JmlKolom]; IsiArray2D(); FunctionBase.CetakArray(Array2D) }
public Soal10(int n1, int n2) { JmlhBaris = n1; JmlhKolom = (n2 * n1) - (n2 - 1); Array2D = new string[JmlhBaris, JmlhKolom]; isiArray(n2); FunctionBase.CetakArray(Array2D); }
public PR2(int n) { jumlahbaris = n + 2; jumlahkolom = (n * n + 5 * n) / 2; Array2D = new string[jumlahbaris, jumlahkolom]; IsiArray2D(n); FunctionBase.CetakArray(Array2D); }
public Soal03(int n) { JumlahBaris = n * 2 + 1; JumlahKolom = ((n * 2) - 1) + n * 2; Array2D = new string[JumlahBaris, JumlahKolom]; IsiArray(n); FunctionBase.CetakArray(Array2D); }
public PostTest(int n) { JumlahBaris = n * n; JumlahKolom = JumlahBaris; Array2d = new string[JumlahBaris, JumlahKolom]; isiArray(n); FunctionBase.CetakArray(); }
public Soal09(int n, int b) { JumlahBaris = n; JumlahKolom = (n * b) - (b - 1); Array2d = new string[JumlahBaris, JumlahKolom]; isiArray(b); FunctionBase.CetakArray(Array2d); }
public PR3(int n) { jumlahbaris = 2 * n + 1; jumlahkolom = 4 * n - 1; Array2D = new string[jumlahbaris, jumlahkolom]; IsiArray2D(n); FunctionBase.CetakArray(Array2D); }
public soal7(int n) { jumlahbaris = n * n; jumlahkolom = n * n; Array2D = new string[jumlahbaris, jumlahkolom]; IsiArray2D(n); FunctionBase.CetakArray(Array2D); }
public SoalPR03(int n) { JmlBaris = n * 2 + 1; JmlKolom = n * 2 + (n * 2 - 1); Array2D = new string[JmlBaris, JmlKolom]; isiArray(n); FunctionBase.CetakArray(Array2D); }