Kotlin - Statement while loop

Introduction

The syntax for while loops in Kotlin is exactly the same as most C-style languages:

while (true) { 
          println("hi!") 
}