Thank you for getting adventurous

Below you will find a random blog post out of the creatronix space. Have fun while reading and learning something new!

Learning Kotlin – Part 5 – loops

This time we deal with loops Loops Kotlin has two types of loops: for and while. For-loop for(x in 1..10){ println(“Loop: $x”) } We can count backwards as well for (x in 10 downTo 1) { println(“Loop: $x”) } While-loop var i = 10 while(i > 0) { println(“$i”) i– } Break & Continue for(x…

Read more

More posts

See the latest blogposts about code and business and everything inbetween.