Skip to content

Latest commit

 

History

History

Firtree

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Firtree

Goal:

Write a function that displays a fir tree, based on its given size.
If the size is 0, don’t display anything.

Example:

$> ./a.out 2
      *
     ***
    *****
   *******
    *****
   *******
  *********
 ***********
*************
     |||
     |||