Bank program

Hi!! I'm new in C++ programming and I want to know if it's possible to compile a program that register this:

A bank systems that check the time that costumers wait too be attended, that simulates a bank line, how long takes customers to get to the cashier and what's the waiting time that they stays at bank.

thanks in advanced... any input can be helpful :)
I'd say of course C++ can do this. There are plenty of simulations like this around already.

I guess the question to ask is if you have broken the problem into pieces small enough. Questions like: is this line a FIFO queue or a priority queue; how long does it take a customer finish the service; and even how do you define waiting time, does it start from one enter the bank or come up to queue. All these factors actually comes up a quite neat solution for your simulation.
Topic archived. No new replies allowed.