asked 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.​

asked
User Scalway
by
8.7k points

1 Answer

2 votes

Answer:

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

answered
User MrMister
by
7.4k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.