Background Club Three Types Customer Namely Vip Highest Priority Regular Member Non Member Q37251376

Background:

In a club, there are three types of customer, namely, VIP(highest priority), regular member and non-member (lowestpriority). Service of waiting customers in the queue are based ontheir priority. Customers with the same priority are served on afirst-come, first-served basis.

Overview:

In the lab, you will implement five functions for the linkedlist data structure:

  1. new_customer – creates a node for a newcustomer
  2. insert_customer – inserts a customer into thelist while preserving its order in terms of his/her priority. (VIP> Regular-member > Non-member)
  3. view_customers – displays all customers in thelist by traversing it from the beginning to the end
  4. dispatch_customer – removes a customer fromthe beginning of the
    OR
    OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.