Draw tricky triangles

My instructor expects my output to look like this :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Enter triangle height : 5

*
**
***
****
*****

*****
 ****
  ***
   **
    *

    *
   **
  ***
 ****
*****

*****
**** 
***  
**   
*    

*    *****
**    ****
***    ***
****    **
*****    *

*****    *
****    **
***    ***
**    ****
*    *****


Right now I don't know how to draw the last two. I know they are made of triangles but I honestly don't know how to draw them.

Can anyone give me help about the way to draw them?
For the first of the last two, combine the loops used for the first two triangles.
For the last, combine the loops used for the third and fourth triangle.
Topic archived. No new replies allowed.