R exercise

1.12: Elevator (Extra)

Sign in to hand in your solution and get feedback.

sum(cumsum(weights.kg.all) ...Complete logical statement...)