Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: Creating a diamond shape wtih java Date: Thu, 05 Sep 2013 03:32:14 -0400 Organization: A noiseless patient Spider Lines: 37 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 5 Sep 2013 07:30:20 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="6b9e92482af47766954d85fb77d372f5"; logging-data="1941"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2+91c7NQa4LwohHxrPkJZEJeuzeFZPDQ=" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130709 Icedove/17.0.7 In-Reply-To: Cancel-Lock: sha1:oAg0CYPb2/REFDcp90BCzBc1yBo= Xref: csiph.com comp.lang.java.programmer:25228 On 09/04/2013 11:20 PM, Arved Sandstrom wrote: > On 09/04/2013 09:15 PM, johnnyringo888@gmail.com wrote: >> I have to create a diamond shape for my java class. >> >> * >> *** >> ***** >> ******* >> ********* >> ******* >> ***** >> *** >> * >> >> Here is the code I have written so far. Can any provide assistance? >> > [SNIP] > > I agree with Eric, kudos for acknowledging that this is for a class. > > Here's another hint: the solution is always in your head, not in code. > Code is just an implementation of a solution. > > Pseudocode is often a good first approach. Pen (or pencil) and paper - > describe how you'd solve that problem. You can even execute and debug > pseudocode. :-) For my own future memento. Attempto Controlled English (ACE) > > 9 times out of 10, we make mistakes because we are hasty. We are not > Donald Knuthian. We leap into coding. > > AHS