Help with C++ output

Ask for help with your homework/assignments in this forum!

Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard

Postby exomo » Thu Jan 27, 2005 2:57 am

What do you mean by "correct size"? the number of lines?

Code: Select all
Enter size: 7
      *
     * *
    * * *
   * * * *
  * * * * *
* * * * * *
* * * * * * *

something like this? is it what you meant?

If yes you have to pass the size of the triangle to your DrawBar and add some spaces at the beginning. If I don't know how many spaces I need I use the simple trick of writing some *'s on a piece of paper and try to find the rule. 8) 8)

EDIT: removed code, do it yourself 8) 8)
Who needs a signature anyway.
User avatar
exomo
 
Posts: 879
Joined: Fri Sep 26, 2003 12:30 pm
Location: germany->baden


Return to Homeworks

Who is online

Users browsing this forum: No registered users and 1 guest