title: How to implement switch-case statement in Kotlin
body: <p>How to implement equivalent of following Java <code>switch</code> statement code in Kotlin?</p>
  
  <pre><code>switch (5) {
      case 1:
      // Do code
      break;
      case 2:
      // Do code
      break;
      case 3:
      // Do code
      break;
  }
  </code></pre>