A repair ticket can carry a bay number or a priority letter. This batch needs the letter. Put both choices in a union, set priority, and print that same member; the earlier numeric value is no longer the one to use.
union TicketValue with an int bay and a char priority, then set the active priority member to 'B'. Print Priority: B followed by a newline by reading priority.The declaration uses union TicketValue { int bay; char priority; };, followed by ticket.priority = 'B'.