Intro This short program simulates the train composition where there are normal cars and a single restaurant car. What this simulation does is finding how much passenger movement is required for ...

A restaurant car in a train simulation in Java – codereview.stackexchange.com
coderodde
