Fundamentals4 / 12
Up next

if / else

n <- 7
# if/else chooses a branch
if (n %% 2 == 0) {
  print("even")
} else {
  print("odd")
}
What you're solving

branch on a condition