Skip to content

Instantly share code, notes, and snippets.

@GabriellCosta
Last active June 16, 2020 02:15
Show Gist options
  • Save GabriellCosta/5c95fd52fe464f6cb91955bcce6887ac to your computer and use it in GitHub Desktop.
Save GabriellCosta/5c95fd52fe464f6cb91955bcce6887ac to your computer and use it in GitHub Desktop.
1-Scrath Post
//Podemos calcular algo
val sum = 3 + 3
//Então ver o resutado deste calculo
println("total : $sum")
//Ou criar um array
val array = arrayOf(3,2,4,2)
//E ver o maior elemento dentro dele
println("max value : ${array.max()}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment