Article View: alt.comp.lang.learn.c-c++
Article #172Re: Basic Loop problem.
From: Jack Klein
Date: Sat, 17 Oct 1998 00:00
Date: Sat, 17 Oct 1998 00:00
26 lines
1427 bytes
1427 bytes
On Sat, 17 Oct 1998 15:39:39 -0700, Wasilefsky <berard@uswest.net> wrote: > Hey, I'm having this problem for a school project. I just started > learning for loops & stuff so I really don't know this stuff. > Basically, what the program has to do is something like this: > > > Enter in the length of the square. Enter -1 to quit [5] > +---+ > | | > | | > | | > +---+ > > Notice how when the user enters 5, the distance from the + to the other > plus, both horizontally & vertically is 5. This is what I can't get > done. Any help will be greatly appreciated. From what I understand > this is all loop stuff, which we just barely learned. > <Jack> Where is the code you wrote? Post it and people will point out where your mistakes are. </Jack>
Technical Details
Message-ID:
<362e1e9d.261273336@netnews.worldnet.att.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36291CAA.CC3A57E9@uswest.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 114592,10524d27e9fda721 X-Google-Attributes: gid114592,public X-Google-Thread: 10d4ba,10524d27e9fda721 X-Google-Attributes: gid10d4ba,public From: jackklein@worldnet.att.net (Jack Klein) Subject: Re: Basic Loop problem. Date: 1998/10/17 Message-ID: <362e1e9d.261273336@netnews.worldnet.att.net> X-Deja-AN: 402288827 Content-Transfer-Encoding: 7bit References: <36291CAA.CC3A57E9@uswest.net> Content-Type: text/plain; charset=us-ascii Organization: AT&T WorldNet Services Mime-Version: 1.0 Newsgroups: alt.comp.lang.learn.c-c++,att.lang.c++