RosettaCodeData/Task/Conditional-structures/BQN/conditional-structures-2.bqn

6 lines
77 B
BQN

{
a<b ? a+1 ; # If
a<c ? c-1 ; # Else If
a-2 # Else
}