/**
* @(#)minessweper_jadi_jadian.java
*
*
* @author Satria Wibawa
* @version 1.00 2009/11/21
*/
public class minessweper_jadi_jadian {
public minessweper_jadi_jadian() {
}
public static void main(String[] args)
{
String array [][]= new String [4][4];
for(int a=0;a
array [0][a]="*";
array [1][a]="2";
array [2][a]="0";
array [3][a]="1";
}
for (int a=1;a<=2;a++)
{
array[2][a]="1";
array[3][a]="*";
}
for(int a=0;a
for(int b=0;b
System.out.print(array[b][a]);
}
System.out.println();
}
}
}
nice :D tp menurut soal harus ada inputnya . . .
BalasHapus