77.2k views
4 votes
Write the reserve method of the Tables Schedule class. This method takes two

int parameters: k, a table number (an index in the schedules list), and
timeSlot, which represents the time of a dinner reservation. The method marks
three consecutive slots, starting at timeslot, as occupied for the k-th table,
leaving all other reservations unchanged. Complete the method reserve below.​

User Scalway
by
5.5k points

1 Answer

2 votes

Answer:

Plz g.j o answer my ela question cause I do not want to fail class

User MrMister
by
4.9k points