Help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • EhabCsharp
    New Member
    • Feb 2008
    • 2

    Help

    Write a program that reads in the size of the side of a square and then prints a hollow square of that size out of asterisks and blanks. Your program should work for squares of all side sizes between 1 and 20. For example, if your program reads a size of 5, it should print
    *****
    * *
    * *
    * *
    *****
    i hope the solution would be ready today i'll be gratefull
    bye
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Originally posted by EhabCsharp
    Write a program that reads in the size of the side of a square and then prints a hollow square of that size out of asterisks and blanks. Your program should work for squares of all side sizes between 1 and 20. For example, if your program reads a size of 5, it should print
    *****
    * *
    * *
    * *
    *****
    i hope the solution would be ready today i'll be gratefull
    bye
    This is your homework assignment. Please refer to the posting guidelines and make your next post compliant. I am closing this thread. Thanks.

    MODERATOR

    Comment

    Working...