• + 0 comments

    I set max = nil and then checked if max was nil before setting max to the total with an or conditional

    e.g., max = total if max == nil || total > max