Commit | Line | Data |
---|---|---|
956a4c05 | 1 | #include "cll1.h" |
2 | ||
3 | program | |
4 | { | |
5 | const int kmen=28; | |
6 | int jehlici=0,vetev=0,stromecek=2; | |
7 | ||
8 | while(jehlici<=kmen) | |
9 | { | |
25a3f430 | 10 | repeat(kmen-jehlici) echo(" "); |
11 | echo("/"); | |
12 | repeat(jehlici<<1) if (jehlici<kmen && vetev<stromecek-1) then echo(" "); else echo("_"); | |
13 | print("\\"); | |
956a4c05 | 14 | if(++vetev<stromecek) then jehlici++; else jehlici-=vetev>>1,vetev=0,stromecek++; |
15 | } | |
25a3f430 | 16 | repeat(kmen) echo(" "); |
17 | print("||"); | |
956a4c05 | 18 | } |