Menu
×
×
Correct!

Exercise:

Print "Hello World" if a is greater than b.

val a = 50 val b = 10 if (a > b) { println("Hello World!") }

Not Correct

Click here to try again.

Correct!

Next ❯
val a = 50
val b = 10

 (a  b) {
  println("Hello World!")
}

    
  




Log in to keep your progress
Sign up to keep your progress

Completed 0 of 39 Exercises:

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

×

Reset the Score?

This will reset the score of ALL 39 exercises.

Are you sure you want to continue?



×

Congratulations!

You have finished all 39 KOTLIN exercises.

Share your score: