Menu
×
×
Correct!

Exercise:

Display the sum of 5 + 10, using two variables: x and y.

val x = 5 val y = 10 println(x + y)

Not Correct

Click here to try again.

Correct!

Next ❯
val x  5
val y  10
(x  )

    
  




Go to w3schools.com
Reset Score
Close This Menu

 

KOTLIN Syntax
KOTLIN Variables
KOTLIN Data Types
KOTLIN Operators
KOTLIN Strings
KOTLIN Booleans
KOTLIN If...Else
KOTLIN While Loops
KOTLIN Arrays
KOTLIN Functions
KOTLIN Classes

×

Reset the Score?

This will reset the score of ALL 37 exercises.

Are you sure you want to continue?



×

Congratulations!

You have finished all 37 KOTLIN exercises.

Share your score: