Baton Systems Interview Question

derive a Pascal Triangle Real time bill generating problem was given