a hollow square. 5x5

Recommended Answers

All 3 Replies

Take a paper and a pencil.
Draw your square with '+' or whatever chars.
Done?
Now use the cout instruction to let the computer do the exact same thing.
Success!

commented: But my pencil is blunt, instructions not clear :( +7

3a4cfdad26601b03d45a25637a401a3a

  1. Click on the attached image.
  2. Press the keyboard key combination CONTROL P at the same time.
  3. Click OK.
  4. ????
  5. Profit (and/or admire your square).
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.