Deviopath › Swift

Largest of Three

Easy · Control Flow

if / else if / else pick a branch. && requires both sides to be true. Write largest(_:_:_:) that returns the largest of three ints. max(a, max(b, c)) is also fine.

Next: Reverse a String