From 17c6f0f2a21e608033166769ce22c67d41098dd1 Mon Sep 17 00:00:00 2001 From: Faishal AR <38537356+Isallkun@users.noreply.github.com> Date: Sun, 2 Oct 2022 03:57:35 +0700 Subject: [PATCH 1/5] create my file --- src/Javascript/isallkun-practicesegitiga.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/Javascript/isallkun-practicesegitiga.js diff --git a/src/Javascript/isallkun-practicesegitiga.js b/src/Javascript/isallkun-practicesegitiga.js new file mode 100644 index 0000000..3f38e39 --- /dev/null +++ b/src/Javascript/isallkun-practicesegitiga.js @@ -0,0 +1,16 @@ +const printSegitiga = 5; + +if (typeof printSegitiga === "number") { + for (let i = 1; i <= printSegitiga; i++) { + for (let j = 1; j <= printSegitiga + 1 - i; j++) { + process.stdout.write(`${j} `); + } + console.log(""); + } +} else { + console.error("Data harus number"); +} + +// i = 1 +// printSegitiga = 5 +// 5 + 1 - 1 = 5 From 7a3987454c4ea0bc00806f32cb65e225ba555fc8 Mon Sep 17 00:00:00 2001 From: Faishal AR <38537356+Isallkun@users.noreply.github.com> Date: Sun, 2 Oct 2022 03:58:43 +0700 Subject: [PATCH 2/5] updating contribute.md --- CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3ac0c91..2a1a552 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -20,4 +20,5 @@ - Reysekha - igrzhukovich - CinnamonXI -- AkasakaID \ No newline at end of file +- AkasakaID +- Isallkun From 8f4083e948f1d271d297f9068a7ce3545ddf845c Mon Sep 17 00:00:00 2001 From: Faishal AR <38537356+Isallkun@users.noreply.github.com> Date: Sun, 2 Oct 2022 04:02:03 +0700 Subject: [PATCH 3/5] updating readme.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index ac443f5..5948f79 100644 --- a/README.md +++ b/README.md @@ -28,3 +28,6 @@ langkah-langkah: Sekali lagi saya ingatkan, dimohon jangan lupa masukkan nama anda di contributing.md Terima kasih telah berpartisipasi dengan repo ini. + +## License +Distributed under the MIT License. See LICENSE.txt for more information. From 4d7c26c7f09afa4de192f8315ca656ba03b3c1bd Mon Sep 17 00:00:00 2001 From: Faishal AR <38537356+Isallkun@users.noreply.github.com> Date: Sun, 2 Oct 2022 04:03:19 +0700 Subject: [PATCH 4/5] create license.txt --- license.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 license.txt diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..88b404d --- /dev/null +++ b/license.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Kodingkeun Community + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 8d0955b2d1694d9f6b97e6e6a22407293191938a Mon Sep 17 00:00:00 2001 From: Faishal AR <38537356+Isallkun@users.noreply.github.com> Date: Sun, 2 Oct 2022 04:03:54 +0700 Subject: [PATCH 5/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5948f79..52b2fa6 100644 --- a/README.md +++ b/README.md @@ -29,5 +29,5 @@ langkah-langkah: Sekali lagi saya ingatkan, dimohon jangan lupa masukkan nama anda di contributing.md Terima kasih telah berpartisipasi dengan repo ini. -## License -Distributed under the MIT License. See LICENSE.txt for more information. +## LICENSE +Distributed under the MIT License. See license.txt for more information.