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

Hollow box program updated

I need to write a program that will produce a hollow box of stars. the program has to ask the user how many rows/columns, then use a while loop, if statements, etc. to execute it. I was able to get a box of stars but not a hollow box. Any help?

Scoobs
Newbie Poster
2 posts since Mar 2006
Reputation Points: 10
Solved Threads: 0
 

what do you think the difference is between this:

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


and this?

*             *

One has whitespaces in it. That's how you make the gaps.

Hope this helps

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You