Coding Challenge: Pikachu Thundershock!

[ENG] Create a code that simulates the damage of the Pikachu's thundershock attack for any level! Pass the integer number of the level by parameter to the thundershock(level) function, and the function must return a message with the damage dealt. Make the damage grows as the level grows.
[PT-BR] Crie um código que simule o dano causado pelo ataque choque do trovão do Pikachu para qualquer nível! Passe o número inteiro referente ao nível por parâmetro para a função choque_do_trovão(nível), e a função precisa retornar uma mensagem com o dano causado. Faca o dano ser maior a medida que o nível for maior.
A solution in Common Lisp
https://gist.github.com/tictackode/6359f18946651176e17d7ab72cf331c3
https://gist.github.com/tictackode/6359f18946651176e17d7ab72cf331c3
A solution in Python
https://gist.github.com/tictackode/fcea08fa70a9049155252481a5938a2d
https://gist.github.com/tictackode/fcea08fa70a9049155252481a5938a2d
A Solution in C language
https://gist.github.com/tictackode/bc8eee76c61e38a2da3cc689500c8bb1
https://gist.github.com/tictackode/bc8eee76c61e38a2da3cc689500c8bb1
About the author
- I'm an Information Systems Bachelor that writes code even by hobby, and now got into a mathematics degree for teaching. Sou formado em Sistemas de Informação, estou cursando Licenciatura em Matemática pela UFF-CEDERJ, e amo programar.
Comments
Join the discussionNo comments yet. Be the first to comment.
Coding Exercises. Exercicios de Algoritmo/Programação
Nesta série postarei desafios de algoritmo originais e resoluções em diversas linguagens de programação. In this series I will post coding exercises and solutions in many programming languagens.





