Added /drawtriangle command
This commit is contained in:
parent
83ab674cdd
commit
7aef248390
@ -99,7 +99,7 @@ function design3(input) {
|
||||
if (i == 0 || (j == 0 || j == (i - 1))) { // Check if we're at the beginning or end of the line
|
||||
outputString += "*";
|
||||
} else {
|
||||
outputString += " ";
|
||||
outputString += " ";
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -114,7 +114,7 @@ function design3(input) {
|
||||
if ((i == 0 || (j == 0 || j == (i - 1)))) { // Check if we're at the beginning or end of the line
|
||||
outputString += "*";
|
||||
} else {
|
||||
outputString += " ";
|
||||
outputString += " ";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user