Last active
June 16, 2020 02:15
-
-
Save GabriellCosta/5c95fd52fe464f6cb91955bcce6887ac to your computer and use it in GitHub Desktop.
1-Scrath Post
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
//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