Now from your post I get the impression that you want to hide the following part of the output:-
That would be simple, just comment out or remove the
System.out.print() in the following :-
for(int r=0; r<4; r++)
{
for(int c=0; c<4; c++)
{
cards[r][c]=(int) (Math.random() * 8);
// System.out.print(cards[r][c]);
}
// System.out.print("\n");
}
They are the first nested
for loops in your code, but honestly you shouldn't be asking us that.
Last edited by stephen84s; Dec 1st, 2008 at 2:07 am.