View Single Post
Join Date: Jul 2007
Posts: 1,176
Reputation: stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light 
Solved Threads: 125
Featured Poster
stephen84s's Avatar
stephen84s stephen84s is offline Offline
Veteran Poster

Re: pls help w/ this

 
0
  #9
Dec 1st, 2008
Now from your post I get the impression that you want to hide the following part of the output:-

  1. 5264
  2. 7021
  3. 1741
  4. 1556

That would be simple, just comment out or remove the System.out.print() in the following :-
  1. for(int r=0; r<4; r++)
  2. {
  3. for(int c=0; c<4; c++)
  4. {
  5. cards[r][c]=(int) (Math.random() * 8);
  6. // System.out.print(cards[r][c]);
  7. }
  8. // System.out.print("\n");
  9. }

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.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."

"How to ask questions the smart way ?"
Reply With Quote