forked from mouredev/Weekly-Challenge-2022-Kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from mouredev/main
- Loading branch information
Showing
3 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
app/src/main/java/com/mouredev/weeklychallenge2022/Challenge4.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.mouredev.weeklychallenge2022 | ||
|
||
/* | ||
* Reto #4 | ||
* ÁREA DE UN POLÍGONO | ||
* Fecha publicación enunciado: 24/01/22 | ||
* Fecha publicación resolución: 31/01/22 | ||
* Dificultad: FÁCIL | ||
* | ||
* Enunciado: Crea UNA ÚNICA FUNCIÓN (importante que sólo sea una) que sea capaz de calcular y retornar el área de un polígono. | ||
* - La función recibirá por parámetro sólo UN polígono a la vez. | ||
* - Los polígonos soportados serán Triángulo, Cuadrado y Rectángulo. | ||
* - Imprime el cálculo del área de un polígono de cada tipo. | ||
* | ||
* Información adicional: | ||
* - Usa el canal de nuestro discord (https://mouredev.com/discord) "🔁reto-semanal" para preguntas, dudas o prestar ayuda la acomunidad. | ||
* - Puedes hacer un Fork del repo y una Pull Request al repo original para que veamos tu solución aportada. | ||
* - Revisaré el ejercicio en directo desde Twitch el lunes siguiente al de su publicación. | ||
* - Subiré una posible solución al ejercicio el lunes siguiente al de su publicación. | ||
* | ||
*/ | ||
|