954,496 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to display this ussing for loop??

how to display this using for loop ?

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

thank you for helping.

samsons17
Posting Whiz in Training
233 posts since Oct 2009
Reputation Points: 6
Solved Threads: 1
 

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.

firstPerson
Senior Poster
3,923 posts since Dec 2008
Reputation Points: 841
Solved Threads: 608
 

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.

VernonDozier
Posting Expert
5,527 posts since Jan 2008
Reputation Points: 2,633
Solved Threads: 711
 

Sampson, this is your fourth thread asking, "How do I do 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..

restrictment
Posting Whiz in Training
228 posts since Oct 2009
Reputation Points: 102
Solved Threads: 17
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You