Simulate Bank Line
Objective: To determine the average wait time given a arrival time and processing time for a set of customers.
Input:
- File containing many pairs of numbers representing {arrival time, processing time} Ordered by time of arrival.
Output requires:
(1) Trace of events executed;
(2) Statistics : total number of arrivals, average time spent in line.