/even-odd-number-kotlin

Kotlin version of determining whether number entered by user is even or odd

Primary LanguageKotlinMIT LicenseMIT

Even or Odd? (Kotlin version)

  • Asks user to enter a value to n
  • Program determines if n is an odd, even or neither
  • Also demonstrates the usage of When condition and Function in Kotlin
  • Based on the first two Java program and Android app of the same program
  • Created to simply practice coding in Kotlin

Created by IasJem