Warning! The page was not fully loaded, probably because of a network issue. It could be that not all functionalities work as expected. Please try reloading the page.
Drop links or images here to add them to the editor.
working with logical vectors
The different steps of the previous exercise (calculate cumsum, create logical vector, sum the number of persons that can enter the elevator)
can be combined in one single step.
Complete the provided code.