Notices
The Basement Non-Honda/Acura discussion. Content should be tasteful and "primetime" safe.

Need Java help.

Thread Tools
 
Old 09-12-2005, 06:19 AM
  #1  
ADRteg
Senior Member
Thread Starter
 
ADRteg's Avatar
 
Join Date: Apr 2003
Location: NoVa / Richmond, VA
Posts: 2,322
Likes: 0
Received 0 Likes on 0 Posts
Default Need Java help.

It's been a while since i've programmed. I just need some help getting started with this assignment.


"Essentially, you will prompt the user for the size of a "square" matrix of characters, represented as a 2D array of char. Once you have the size of this matrix, you will populate the matrix with randomly-selected Unicode characters. You will randomly select any character that appears on your computer keyboard. Generally, this means alpha-numeric characters such as 0-9, a-z, A-Z, etc. You'll need to study the Appendix in your text that covers the ASCII character set in order to randomize the correct characters.

Once you've randomly populated this matrix of characters, I want you to horizontally and vertically sort this matrix such that the largest-valued character is in the lower-right-hand corner of the matrix and the least-valued character is in the upper-left-hand corner of the matrix. Essentially, this is both a horizontal and vertical sort such that if you scan the matrix from left to right, values ascend; and if you scan the matrix from top to bottom, the values also ascend. "


Just not sure where/how to start since it's been so long since i've done this, Any help would be great, Thankya
Old 09-12-2005, 06:28 AM
  #2  
Misa
Pic Whore
 
Misa's Avatar
 
Join Date: Jul 2004
Location: NJ
Posts: 22,223
Likes: 0
Received 1 Like on 1 Post
Default

do your own homework!






i dont know java yet, only C++ or I would've helped h:
Old 09-12-2005, 06:53 AM
  #3  
Kavikgold
Senior Member
 
Kavikgold's Avatar
 
Join Date: May 2002
Location: agoura hills, socal
Posts: 904
Likes: 0
Received 0 Likes on 0 Posts
Default

you know if you asked me like 2 months ago i probably would have known h:
Old 09-12-2005, 07:08 AM
  #4  
jclau00
Senior Member
 
jclau00's Avatar
 
Join Date: Sep 2002
Location: bay area, cali
Posts: 1,104
Likes: 0
Received 0 Likes on 0 Posts
Default

do what i used to do...

stand by the printer and steal people's code as they print it out.
Old 09-12-2005, 07:23 AM
  #5  
ADRteg
Senior Member
Thread Starter
 
ADRteg's Avatar
 
Join Date: Apr 2003
Location: NoVa / Richmond, VA
Posts: 2,322
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by jclau00
do what i used to do...

stand by the printer and steal people's code as they print it out.

smart. but i'm in my bedroom.
Old 09-12-2005, 07:57 AM
  #6  
LT
The deer had to die!
 
LT's Avatar
 
Join Date: Jun 2002
Location: Fussa, Japan
Posts: 39,835
Likes: 0
Received 0 Likes on 0 Posts
Default

if it was VB i could probably help.




All times are GMT -8. The time now is 03:22 AM.