Eximius Design interview question

factorial program