You also need to modify the call simulator to handle up to 3 customers arriving at the same time. To determine the number of customers, generate a random number in the range of 0 to 3. If the number is 0, no customer arrived. If the number is not 0, enqueue the number of customers indicated by the random number.
Write a stack and queue test driver. A test driver is a program created to test functions that are to be placed in a library. Its primary purpose is to completely test functions; therefore, it has no application use.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here