Browsing category:

Kotlin

Kotlin Conditional Statements

If Statements Sometimes we may want to run our code only when a condition holds true. For example, let’s hypothetically assume that we run a bar and we only want to admit users who are 18 years old and above. in the code below we’re trying to access our code with a preset age of 16,  […]

  • 1
  • 2