Block interview question

Describe functional programming and give an example