Here is a brief description of the program I'm trying to write. Its a toll simulation.

I have 3 toll stations with each toll station having different processing times (lets say toll1 = 2s, toll2 = 3s and toll3 = 4s). The input is a number of cars (lets say 100) passing through these 3 tolls and the output was supposed to be the number of cars going through each toll station.

Any ideas on doing this using vector? Thanks in advance.