add commment for lesson
This commit is contained in:
parent
94e33222b2
commit
3071bb4746
|
@ -1,5 +1,6 @@
|
|||
//Обучение ЦИКЛАМ
|
||||
|
||||
//lesson 1.4 X-MAS TREE
|
||||
function DrawTriangle(height: number) {
|
||||
for(let index = 1; index <= height; ){
|
||||
DrawLine(index * 2 - 1, height - index);
|
||||
|
@ -18,6 +19,7 @@ for(let index = 1; index <= 5;){
|
|||
|
||||
|
||||
|
||||
//lesson 1.3 ANOTHER TRIANGLE
|
||||
|
||||
function DrawLine(count: number, countP: number){
|
||||
const minimalString = '*';
|
||||
|
|
Loading…
Reference in New Issue