From 63b19b7224e9053eaacdfa8a40f8ba8b2bddb30b Mon Sep 17 00:00:00 2001 From: LokoInsanus Date: Wed, 4 Oct 2023 15:38:46 -0300 Subject: [PATCH] Finalizando o desafio 1 --- .../1-cubo-simples/dart/lokoinsanus/README.md | 22 +++++++++++++++++++ .../1-cubo-simples/dart/lokoinsanus/cubo.dart | 5 +++++ 2 files changed, 27 insertions(+) create mode 100644 challenges/1-cubo-simples/dart/lokoinsanus/README.md create mode 100644 challenges/1-cubo-simples/dart/lokoinsanus/cubo.dart diff --git a/challenges/1-cubo-simples/dart/lokoinsanus/README.md b/challenges/1-cubo-simples/dart/lokoinsanus/README.md new file mode 100644 index 00000000..44be9a49 --- /dev/null +++ b/challenges/1-cubo-simples/dart/lokoinsanus/README.md @@ -0,0 +1,22 @@ +# Submissão de Exercicio + +**Exercicio:** 0 - Hello World + +**Nickname:** lokoinsanus + +**Nível Técnico:** - Estudante + +**Empresa:** - Nenhuma + +**Twitter**: https://twitter.com/lokoinsanus + +**Dificuldade de Resolução:** - Baixa + +**Como rodar o desafio**: + +É necessário ter o ambiente ter instalada a Dart SDK. Podendo seguir as orientações em https://dart.dev/get-dart + +Para compilar o código use: +```bash +dart cubo.dart 4 +``` \ No newline at end of file diff --git a/challenges/1-cubo-simples/dart/lokoinsanus/cubo.dart b/challenges/1-cubo-simples/dart/lokoinsanus/cubo.dart new file mode 100644 index 00000000..91f5f6e9 --- /dev/null +++ b/challenges/1-cubo-simples/dart/lokoinsanus/cubo.dart @@ -0,0 +1,5 @@ +import 'dart:math'; + +main(List args) { + print(pow(num.parse(args[0]), 3)); +}