Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 511 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 511 Bytes

This program simulates the backend of a ticket purchasing system

Price per visitor is $5; Price per member is $3.50

You are to do the following

  1. Identify all banned visitors with a filter call
  2. Determine the memberships status of all applicants
  3. Calculate the total price for all eligible visitors
  4. For each valid visitor, return a corresponding ticket in Dictionary form
  5. Return an error via thrown exception if applicants is empty

Complete everything above in a function called processRequest