Questions tagged [cs50-shuttle]

The tag has no usage guidance.

1 question with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
90 views

dropoff() stops when I assign a null value

For some reason, every time my code comes to this line of code, shuttle.seats[passenger]=null; it executed that line, but does not continue on. This is the line of code in context: for (passenger ...