Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Roedy Green Newsgroups: comp.lang.java.programmer Subject: Re: number conversion Date: Mon, 29 Aug 2011 14:08:34 -0700 Organization: Canadian Mind Products Lines: 13 Message-ID: References: <948475fb-b1da-4062-8008-c64a4ea4206b@x21g2000prd.googlegroups.com> Reply-To: Roedy Green NNTP-Posting-Host: RCd/Ul4tyxGUBII8WGwa5g.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 6.00/32.1186 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7479 On Mon, 29 Aug 2011 11:01:44 -0700 (PDT), mamta81 wrote, quoted or indirectly quoted someone who said : >1) what happens to my input for which I get a wrong index of ". "? Java starts numbering slots at 0 not 1. Your program is correct. -- Roedy Green Canadian Mind Products http://mindprod.com The modern conservative is engaged in one of man's oldest exercises in moral philosophy; that is, the search for a superior moral justification for selfishness. ~ John Kenneth Galbraith (born: 1908-10-15 died: 2006-04-29 at age: 97)