Forum: Java Oct 4th, 2009 |
| Replies: 11 Views: 390 You see as far as I understand.... the requirement was to put the display in matrix form and you've used ROW and COLUMN as the elements for deciding the matrix display... for a prime sized array this... |
Forum: Java Oct 3rd, 2009 |
| Replies: 11 Views: 390 In this there is restriction that the array dimension can't be prime (Not a big deal...HUH??) :yawn:
for prime we can use following looping...
int j=0;
for(int i=0;i<arr.length;i++)
{
... |
Forum: Java Oct 1st, 2009 |
| Replies: 2 Views: 248 one 1D array (char type) should do the job... for storing the characters... their indexes will be used in comparing with the value entered by the user. if the character at the indexes (values)... |