Go to w3c.91xjr.com
Reset Score
Close This Menu
KOTLIN Syntax
Exercise 1
Exercise 2
Exercise 3
Go to KOTLIN Syntax Tutorial
KOTLIN Variables
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Go to KOTLIN Variables Tutorial
KOTLIN Data Types
Exercise 1
Exercise 2
Exercise 3
Go to KOTLIN Data Types Tutorial
KOTLIN Operators
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Go to KOTLIN Operators Tutorial
KOTLIN Strings
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Go to KOTLIN Strings Tutorial
KOTLIN Booleans
Exercise 1
Exercise 2
Exercise 3
Go to KOTLIN Booleans Tutorial
KOTLIN If...Else
Exercise 1
Exercise 2
Exercise 3
Go to KOTLIN If...Else Tutorial
KOTLIN While Loops
Exercise 1
Exercise 2
Exercise 3
Go to KOTLIN While Loops Tutorial
KOTLIN Arrays
Exercise 1
Exercise 2
Exercise 3
Go to KOTLIN Arrays Tutorial
KOTLIN For Loops
Exercise 1
Exercise 2
Go to KOTLIN For Loops Tutorial
KOTLIN Functions
Exercise 1
Exercise 2
Exercise 3
Go to KOTLIN Functions Tutorial
KOTLIN Classes
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Go to KOTLIN Classes Tutorial
Menu
×
×
Correct!
Exercise:
Print
i
as long as
i
is less than 5.
var i = 0 @(5) (i < 5) { println(i) @(3) }
var i = 0 while (i < 5) { println(i) i++ }
Not Correct
Click
here
to try again.
Correct!
Next ❯
Show Answer
Hide Answer
Submit Answer ❯
Show Answer
Hide Answer
×
Reset the Score?
Reset?
Cancel?