Article View: comp.lang.java.help
Article #42Re: Finding 2 biggest numbers in a row
From: Bart Vandewoestyne
Date: Thu, 16 Nov 2000 00:00
Date: Thu, 16 Nov 2000 00:00
30 lines
2475 bytes
2475 bytes
Jon Skeet wrote: > > My guess is that it's a homework assignment - which is reasonable, given > that the poster didn't actually ask us to write any code or anything, > just help him find the problem with what he'd already done. This was indeed a homework assignment. I don't want to ask here in the newsgroup for people letting me program homeworks for me, I just wanted to get some help and comments on my program. I think I have made it clear that I actually _did_ search for myself, but becaus i didn't find my mistake and i want to work more efficiently, i just wanted to ask some comments from 'professionals' ;-) And indeed, if i were a programmer in a company, i also wouldn't program it recursively, but that wasn't the assignment :-( Recursion Rulezzz ;-) Greetzzz, mc303 PS: I think my version is correct right now, I also have another recursive version... they _seem_ to work, but not sure... -- Ing. Bart Vandewoestyne Bart.Vandewoestyne@skynet.be Hugo Verrieststraat 48 GSM: +32 (0)478 397 697 B-8550 Zwevegem http://hello.to/MC303 ---------------------------------------------------------------------- "Any fool can know, the point is to understand." - Albert Einstein
Technical Details
Message-ID:
<3A13DF16.FE64264F@skynet.be>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3A11B99A.2BB2E1E7@skynet.be> <8usf9t$fod$1@news1.skynet.be> <3A11CCFF.A6526AE9@skynet.be> <3A124685.78849562@ludomedia.ch> <sbvQ5.6057$cr6.142000@news1.oke.nextra.no> <MPG.147c9fc3638ab60989793@news.peramon.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcea4,470c011dba4db9c3 X-Google-Attributes: gidfcea4,public X-Google-Thread: 10a146,470c011dba4db9c3 X-Google-Attributes: gid10a146,public X-Google-Thread: 113ae9,470c011dba4db9c3 X-Google-Attributes: gid113ae9,public From: Bart Vandewoestyne <Bart.Vandewoestyne@skynet.be> Subject: Re: Finding 2 biggest numbers in a row Date: 2000/11/16 Message-ID: <3A13DF16.FE64264F@skynet.be> X-Deja-AN: 694311898 Cache-Post-Path: marvin!unknown@kn-10-0-53-046.kotnet.kuleuven.ac.be Content-Transfer-Encoding: 7bit References: <3A11B99A.2BB2E1E7@skynet.be> <8usf9t$fod$1@news1.skynet.be> <3A11CCFF.A6526AE9@skynet.be> <3A124685.78849562@ludomedia.ch> <sbvQ5.6057$cr6.142000@news1.oke.nextra.no> <MPG.147c9fc3638ab60989793@news.peramon.com> X-Accept-Language: nl-BE, nl, en, de Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@belnet.be X-Trace: naxos.belnet.be 974380660 29943 134.58.127.3 (16 Nov 2000 13:17:40 GMT) Organization: MyHome X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Mime-Version: 1.0 NNTP-Posting-Date: Thu, 16 Nov 2000 13:17:40 +0000 (UTC) Newsgroups: comp.lang.java.help,comp.lang.java.programmer,be.comp.programming