Introduction - If you have any usage issues, please Google them yourself
Assuming stopped at the the railway dispatch station entrance compartment sequence numbered 1,2,3, ... n. Design a program determined all possible thereby outputting compartments sequence of length n.