944,205 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 1230
  • C RSS
Mar 13th, 2006
0

Hollow box program updated

Expand Post »
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?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Scoobs is offline Offline
2 posts
since Mar 2006
Mar 13th, 2006
0

Re: Hollow box program updated

what do you think the difference is between this:

  1. ***************

and this?


  1. * *


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

Hope this helps
Featured Poster
Reputation Points: 1536
Solved Threads: 431
Posting Expert
iamthwee is offline Offline
5,865 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: @@ ListFuns.c @@
Next Thread in C Forum Timeline: conversion





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC