Results 1 to 11 of 11
- 06-16-2011, 01:29 AM #1
Member
- Join Date
- Jun 2011
- Posts
- 12
- Rep Power
- 0
- 06-16-2011, 01:35 AM #2
I can write it. I won't, but I can.
I'd like that in cash, please.Get in the habit of using standard Java naming conventions!
- 06-16-2011, 02:35 AM #3
Why do you want to pay someone to do something you could do yourself?
- 06-16-2011, 02:36 AM #4
I'm no math geek myself, but it looks like all normal array operations. Shouldn't be too hard to do it, really.
Not that I will, mind you. I generally don't do other people's homework.
EDIT: Hmm... Five lines of code, I think. Should be all it takes.Last edited by Toll; 06-16-2011 at 03:05 AM.
- 06-16-2011, 03:13 AM #5
Member
- Join Date
- Jun 2011
- Posts
- 12
- Rep Power
- 0
can somebody please help me atleast start, i will fail the course :(:(
- 06-16-2011, 03:16 AM #6
Take it step by step. What, exactly, are they after? Are you able to do it with pen and paper? If so, translate that to code. If not, figure out how to do it with pen and paper first.
- 06-16-2011, 03:17 AM #7
Member
- Join Date
- Jun 2011
- Posts
- 12
- Rep Power
- 0
what do you mean pen and paper? I do not understand the assignment at all, thats why i need some serious help
- 06-16-2011, 03:21 AM #8
Start with a piece of paper and pencil. Write a matrix with the x,y values for the source and then write down the x,y values for the target matrix. Look at the pattern. For example the 1 at row 0, col 1 goes to row1 , col 0
For this case x,y becomes y,x.
When you see the pattern, make a 3x3 matrix and do the same and look for the x,y pattern.
Then try to write a loop for the row and an inner loop for the column and work out the logic there. Again use a piece of paper and pencil and play computer with the x,y or row, col to get the pattern.
- 06-16-2011, 03:22 AM #9
I mean... do you understand how the transpose works? If I gave you a matrix, would you be able to transpose it? Try transposing this, for instance:
If you can't figure out how to do that by hand, then you most likely won't be able to do it with code. Google it if you have to (I assume there's some pages out there about it; I've not looked myself, to be honest).Java Code:[ 5 2 8 ] [ 4 8 1 ] [ 2 7 3 ]
- 06-16-2011, 03:50 AM #10
Moderator
- Join Date
- Feb 2009
- Location
- New Zealand
- Posts
- 4,546
- Rep Power
- 11
Double post : Please help. Arrays.
@OP: I'm not trying to be mean, but please recognise that nobody here is going to write your code for you, neither in this thread nor the other. The interest (and there's plenty of it) is in your understanding not your passing the course. So what is important is the code you write, not the code that others might write for you. Follow (and follow up on) Norm's suggestion.
-
He seems to be only interested in cheating. I am going to lock this thread and ban him unless others feel strongly otherwise. I don't think that there's much redeeming him.
Similar Threads
-
What are you using to write your code?
By CaptainMorgan in forum New To JavaReplies: 948Last Post: 05-21-2013, 12:41 PM -
Help me re-write pseudo code?
By csisdifficult in forum New To JavaReplies: 15Last Post: 04-21-2011, 06:30 AM -
how do i write this code?
By Libertyman in forum New To JavaReplies: 23Last Post: 06-22-2010, 12:43 PM -
Cash Prize Challenge
By Laura 123 in forum New To JavaReplies: 19Last Post: 04-01-2009, 03:56 AM -
JSP Prize Tags 3.4.0
By levent in forum Java SoftwareReplies: 0Last Post: 05-13-2007, 03:38 PM


LinkBack URL
About LinkBacks

Bookmarks