You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Discrete Mathematics professor has a class of students. Frustrated with their lack of discipline, the professor decides to cancel class if fewer than some number of students are present when class starts. Arrival times go from on time (ArrivalTime <= 0) to arrived late (ArrivalTIme > 0).
Given the arrival time of each student and a threshhold number of attendees, determine if the class is cancelled.