Question: Create a customer support ticket: First, prompt the user to provide informa - tion regarding the ticket, including its title and level of urgency. Next,
Create a customer support ticket: First, prompt the user to provide informa
tion regarding the ticket, including its title and level of urgency. Next, calculate
the total elapsed time in seconds from the start of the program. Using the gath
ered information, compute the Ticket Priority Score TPS as described above.
Finally, insert the ticket into the priority queue, with the TPS serving as the key
for prioritization. Higher key value should be given higher priority. For example,
let's assume the user creates a ticket with the title 'Email not working, and the
associated level of urgency is Furthermore, let's assume the ticket was created
seconds after starting the program; then T is and U is Once we know the U
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
