I have a java question. Can anyone help me solve it please. Much appreciated
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
I have a java question. Can anyone help me solve it please. Much appreciated
Where is your java code? What specific questions do you have about your program?I have a java question
Be sure to wrap your code with code tags:
[code=java]
YOUR CODE HERE
[/code]
to get highlighting and preserve formatting.
If you don't understand my answer, don't ignore it, ask a question.
All I have is the question above with no other guidance. Do you think you could kindly form a rough code. Thank you
Sorry, I don't write code for students.
What have you got so far? Where are you having problems?
If you don't understand my answer, don't ignore it, ask a question.
That's a shame because I am not a Student. I am helping my brother out whose going for a finance job and they have asked for him to do some code in java which is pointless for him as this is very IT technical.
This thread has been cross posted here:Although cross posting is allowed, for everyone's benefit, please read:
Educating the world, one liberal at a time.
http://constitutionclub.ning.com/
http://liberty-amendments.freeforums.net/
https://www.change.org/petitions/sil...re-cheap-labor
So...do you or your brother have any experience with java?
Also, regarding this bit:
A[P] + A[Q] > A[R],
A[Q] + A[R] > A[P],
A[R] + A[P] > A[Q].
The first rule is the only relevant one as the other two would be true by nature of 0 ≤ P < Q < R < N. One approach would be to sort array high to low, check the first 3 integers against the rules then print perimeter if they pass or move one index over. (If A[0],A[1],A[2] don't work then try A[1],A[2],A[3])
GoodbyeWorld, that is not cross posting, just creating duplicate threads. If they posted the same thing on another forum (not jpf) altogether then that would be cross posting.