Algorithm help [JAVA]

EDIT:
Ok forget it then.
Please delete… ::slight_smile:

I don’t think we should be in the business of solving other peoples homework problems.

Why not? make it $10 per question, split half and half to answerer and JGO (to pay host) ;D

I didn’t see the original post.

Was this literally homework? Or just things that he should be able work out for himself?

Either way, I think charging $10 is a good idea for solving this problem.

LOL it wasnt even my homework.
I wanted to help a friend.

I asked in another forum and they helped me… ::slight_smile:

Good for you. Now look forward to helping him study for his programming exam. Or, I dunno, do it for him.