Flexible Finance interview question

Some scenario based, programming questions