Please, can someone solve this?
A prompt asks the executive secretary to input the time for the first interview, and then a loop continues to prompt for input of subsequent interview, and then a loop continues to prompt for input of subsequent interview times. Input terminates when the secretary enters a time at or after 5:00 pm. A loop executes pop() operations until the queue is empty. Each iteration outputs the time that the appointment begins, along with the amount of the time available for the director to carry out the interview. When the queue becomes empty, the time for the last interview is the difference between the office-closing time of 5:00 pm. and the prior starting time for the last interview.