Match the parts of if-else expressions.
Branching
If-else matching
Report a typo
Match the items from left and right columns
if x ==
if a > 0 then 1 else
if
5 then println(x)
2
(b % 3 == 0) 9 else if (b % 2 == 0) 10 else 20
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.