From 4c5ed4a5d2092274564e33452722a2830f607e98 Mon Sep 17 00:00:00 2001 From: ThiagoAssalin Date: Tue, 10 Oct 2023 16:40:00 -0300 Subject: [PATCH 1/2] Finalizando o desafio --- .../javascript/ThiagoAssalin/README.MD | 20 +++++++++++++++++++ .../javascript/ThiagoAssalin/helloworld.js | 1 + 2 files changed, 21 insertions(+) create mode 100644 challenges/0-hello-world/javascript/ThiagoAssalin/README.MD create mode 100644 challenges/0-hello-world/javascript/ThiagoAssalin/helloworld.js diff --git a/challenges/0-hello-world/javascript/ThiagoAssalin/README.MD b/challenges/0-hello-world/javascript/ThiagoAssalin/README.MD new file mode 100644 index 00000000..013ca2f7 --- /dev/null +++ b/challenges/0-hello-world/javascript/ThiagoAssalin/README.MD @@ -0,0 +1,20 @@ +# Submissão de Exercicio + +**Exercicio:** 0 - Hello World + +**Nickname:** ThiagoAssalin + +**Nível Técnico:** - Junior - + +**Empresa:** - Nenhuma - + +**Dificuldade de Resolução:** - Baixa - + +**Comentários:** -De Boa- + +**Como rodar o desafio**: + +Use o comando abaixo: +```bash +node helloworld.js +``` diff --git a/challenges/0-hello-world/javascript/ThiagoAssalin/helloworld.js b/challenges/0-hello-world/javascript/ThiagoAssalin/helloworld.js new file mode 100644 index 00000000..f5bda8da --- /dev/null +++ b/challenges/0-hello-world/javascript/ThiagoAssalin/helloworld.js @@ -0,0 +1 @@ +console.log('Hello world') \ No newline at end of file From 7c6860eab560a3d13699c1e68743ef3d0f080ac2 Mon Sep 17 00:00:00 2001 From: ThiagoAssalin Date: Tue, 10 Oct 2023 18:54:43 -0300 Subject: [PATCH 2/2] Finalizando o desafio 1 --- .../javascript/ThiagoAssalin/README.md | 22 +++++++++++++++++++ .../javascript/ThiagoAssalin/index.js | 8 +++++++ 2 files changed, 30 insertions(+) create mode 100644 challenges/1-cubo-simples/javascript/ThiagoAssalin/README.md create mode 100644 challenges/1-cubo-simples/javascript/ThiagoAssalin/index.js diff --git a/challenges/1-cubo-simples/javascript/ThiagoAssalin/README.md b/challenges/1-cubo-simples/javascript/ThiagoAssalin/README.md new file mode 100644 index 00000000..61a16c06 --- /dev/null +++ b/challenges/1-cubo-simples/javascript/ThiagoAssalin/README.md @@ -0,0 +1,22 @@ +# Submissão de Exercicio + +**Exercicio:** 1 - Cubo Simples + +**Nickname:** ThiagoAssalin + +**Nível Técnico:** Estudante + +**Empresa:** Nenhuma + +**Twitter**: + +**Dificuldade de Resolução:** Facil + +**Comentários:** + +**Como rodar o desafio**: + +Use o comando abaixo: +```bash +node index.js [numero] +``` \ No newline at end of file diff --git a/challenges/1-cubo-simples/javascript/ThiagoAssalin/index.js b/challenges/1-cubo-simples/javascript/ThiagoAssalin/index.js new file mode 100644 index 00000000..6d09f15b --- /dev/null +++ b/challenges/1-cubo-simples/javascript/ThiagoAssalin/index.js @@ -0,0 +1,8 @@ +const num = process.argv[2]; + +if(!num){ + console.log('Digite um numero') + return +}else{ + console.log("O numero "+num+" ao cubo resulta em: "+Math.pow(num, 3)) +} \ No newline at end of file