Addition in Kotlin

Level 114 keystrokes

Prints the result of adding 5 and 3.

Kotlin code

// 5 + 3 is evaluated first, so println prints 8
1println(5 + 3)

Output

8
Practice typing this code

Practice typing this code. Results are not recorded in the rankings.

Symbols in this code

The symbols you type in this Kotlin code and how often they appear.

  • (× 1
  • )× 1
  • +× 1

More Kotlin examples at level 1

← Kotlin typing practice