-1

how to display this using for loop ?

***** *****
***** * *
***** * *
***** *****

thank you for helping.

Votes + Comments
Asked 4 times for the same for-loop explanation
4
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by restrictment
0

Well the top and the bottom are the same so you can just duplicate the
top at the end, and the middle two are the same. I see no reason to
use for loops for this.

0

how to display this using for loop ?

***** *****
***** * *
***** * *
***** *****

thank you for helping.

Code tags. We don't know what you're trying to do without them:

***** *****
***** *      *
***** *      *
***** *****

And we can't tell here either. Do it in a word processor with Courier font, then copy and paste with code tags. Oh, and show some effort too. We're not going to do this for you.

0

Sampson, this is your fourth thread asking, "How do I do <insert name> in a for loop?" within just 2 days...

I am beginning to think that you are doing this just for attention, as I cannot imagine a class that would just randomly assign 'for-loop' problems of such random increments in just two days on a weekend.
http://www.daniweb.com/forums/thread237124.html
http://www.daniweb.com/forums/thread237117.html
http://www.daniweb.com/forums/thread236472.html
http://www.daniweb.com/forums/thread236460.html

Please stop spamming these for-loop threads..

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.