Question: To solve the following problem in C + + . It's time for enrollment of new students at a faculty. For a student to enroll,

To solve the following problem in C++. It's time for enrollment of new students at a faculty. For a student to enroll, he should arrive at the faculty before 9 am and wait in line to be served by the student service. The student service starts working from 9 am, works for 2 hours, takes a 30 minute break, works for 1 hour, takes a 30 minute break, works for 2 hours and its working hours end.Student service takes exactly 5 minutes to serve 1 student.If it is known which row a particular student is in the waiting queue, print the time it has been waiting in hours and minutes to be served, or print to standard input if the student has not been served.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!