示例#1
0
文件: soal10.cs 项目: rifkial/PRrifki
 public soal10(int n)
 {
     jmlBaris = (n * n + n) / 2;
     jmlKolom = n * 2 - 1;
     Array2D  = new string[jmlBaris, jmlKolom];
     IsiArray(n);
     FunctionBase.CetakArray(Array2D);
 }
示例#2
0
文件: soal02.cs 项目: rifkial/PRrifki
 public soal02(int n)
 {
     JmlBaris = n;
     JmlKolom = JmlBaris * 2 - 1;
     Array2D  = new string[JmlBaris, JmlKolom];
     IsiArray();
     FunctionBase.CetakArray(Array2D);
 }
示例#3
0
 public Soal01(int n)
 {
     JmlhBaris = ((n * 2) - 1) + (n * 2);
     JmlhKolom = JmlhBaris;
     Array2D   = new string[JmlhBaris, JmlhKolom];
     IsiArray(n);
     FunctionBase.CetakArray(Array2D);
 }
示例#4
0
 public Latihankoding02(int n)
 {
     JumlahBaris = n;
     JumlahKolom = n;
     Array2D     = new string[JumlahBaris, JumlahKolom];
     IsiArray();
     FunctionBase.CetakArray(Array2D);
 }
示例#5
0
 public posttest(int n)
 {
     jumlahbaris = n;
     jumlahkolom = n * n - n + 1;
     Array2D     = new string[jumlahbaris, jumlahkolom];
     IsiArray2D(n);
     FunctionBase.CetakArray(Array2D);
 }
示例#6
0
 public Soal01(int n)
 {
     JumlahBaris = n * n;
     JumlahKolom = (n * 2 - 1) * 2;
     Array2D     = new string[JumlahBaris, JumlahKolom];
     IsiArray(n);
     FunctionBase.CetakArray(Array2D);
 }
示例#7
0
文件: soal08.cs 项目: rifkial/PRrifki
 public soal08(int n)
 {
     jmlBaris = n * n;
     jmlKolom = n * n;
     Array2D  = new String[jmlBaris, jmlKolom];
     IsiArray(n);
     FunctionBase.CetakArray(Array2D);
 }
示例#8
0
文件: PR3.cs 项目: dearmhmdr/PRdear1
 public PR3(int n)
 {
     JmlhBaris = n * 2 + 1;
     JmlhKolom = (n * 2) + (n * 2 - 1);
     Array2D   = new string[JmlhBaris, JmlhKolom];
     IsiArray(n);
     FunctionBase.CetakArray(Array2D);
 }
示例#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);
 }
示例#10
0
 public Soal06(int n)
 {
     JmlBaris = n;
     JmlKolom = (n * n) + (n - 1);
     Array2D  = new string[JmlBaris, JmlKolom];
     isiArray(n);
     FunctionBase.CetakArray(Array2D);
 }
示例#11
0
 public SoalPR1(int n)
 {
     JmlBaris = 3 * n + (n - 1);
     JmlKolom = JmlBaris;
     Array2D  = new string[JmlBaris, JmlKolom];
     isiArray(n);
     FunctionBase.CetakArray(Array2D);
 }
示例#12
0
 public PR01(int n)
 {
     JmlhBaris = (n * n + n) / 2;
     JmlhKolom = (n * n);
     Array2D   = new string[JmlhBaris, JmlhKolom];
     isiArray(n);
     FunctionBase.CetakArray(Array2D);
 }
示例#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);
 }
示例#14
0
文件: soal01.cs 项目: rifkial/PRrifki
       public soal01 (int n)
	{
        JmlBaris = rere;
        JmlKolom = rere;
        Array2D = new String[JmlBaris, JmlKolom];
        IsiArray2D();
        FunctionBase.CetakArray(Array2D)
	}
示例#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);
 }
示例#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);
 }
示例#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);
 }
示例#18
0
 public PostTest(int n)
 {
     JumlahBaris = n * n;
     JumlahKolom = JumlahBaris;
     Array2d     = new string[JumlahBaris, JumlahKolom];
     isiArray(n);
     FunctionBase.CetakArray();
 }
示例#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);
 }
示例#20
0
文件: PR3.cs 项目: sulis96/PRSulis
 public PR3(int n)
 {
     jumlahbaris = 2 * n + 1;
     jumlahkolom = 4 * n - 1;
     Array2D     = new string[jumlahbaris, jumlahkolom];
     IsiArray2D(n);
     FunctionBase.CetakArray(Array2D);
 }
示例#21
0
 public soal7(int n)
 {
     jumlahbaris = n * n;
     jumlahkolom = n * n;
     Array2D     = new string[jumlahbaris, jumlahkolom];
     IsiArray2D(n);
     FunctionBase.CetakArray(Array2D);
 }
示例#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);
 }