Article View: alt.comp.lang.learn.c-c++
Article #171Basic Loop problem.
From: Wasilefsky
Date: Sat, 17 Oct 1998 00:00
Date: Sat, 17 Oct 1998 00:00
16 lines
1229 bytes
1229 bytes
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.
Technical Details
Message-ID:
<36291CAA.CC3A57E9@uswest.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4ba,10524d27e9fda721,start X-Google-Attributes: gid10d4ba,public X-Google-Thread: 114592,10524d27e9fda721,start X-Google-Attributes: gid114592,public From: Wasilefsky <berard@uswest.net> Subject: Basic Loop problem. Date: 1998/10/17 Message-ID: <36291CAA.CC3A57E9@uswest.net> X-Deja-AN: 402288824 X-Report: Report abuse to abuse@uswest.net. Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Trace: 17 Oct 1998 17:39:14 +0500, 206.80.202.69 Organization: America Online MIME-Version: 1.0 Newsgroups: alt.comp.lang.learn.c-c++,att.lang.c++