CS 106B Hospital Patient Check-in System ======================================== Current patient queue: {} (empty) N)ew, F)ront, U)pgrade, P)rocess, B)ulk, C)lear, Q)uit? N Name? Stephan Priority? 5 Current patient queue: {5:Stephan} (not empty) N)ew, F)ront, U)pgrade, P)rocess, B)ulk, C)lear, Q)uit? N Name? David Priority? 3 Current patient queue: {5:Stephan, 3:David} (not empty) N)ew, F)ront, U)pgrade, P)rocess, B)ulk, C)lear, Q)uit? U Name? Stephan New priority? 2 Current patient queue: {2:Stephan, 3:David} (not empty) N)ew, F)ront, U)pgrade, P)rocess, B)ulk, C)lear, Q)uit? N Name? Ronald Priority? 8 Current patient queue: {2:Stephan, 3:David, 8:Ronald} (not empty) N)ew, F)ront, U)pgrade, P)rocess, B)ulk, C)lear, Q)uit? P Processing patient: "Stephan" Current patient queue: {3:David, 8:Ronald} (not empty) N)ew, F)ront, U)pgrade, P)rocess, B)ulk, C)lear, Q)uit? P Processing patient: "David" Current patient queue: {8:Ronald} (not empty) N)ew, F)ront, U)pgrade, P)rocess, B)ulk, C)lear, Q)uit? P Processing patient: "Ronald" Current patient queue: {} (empty) N)ew, F)ront, U)pgrade, P)rocess, B)ulk, C)lear, Q)uit? Q Exiting.