# SICP Solutions

### Section - 2.2 - Hierarchical Data and the Closure Property

#### Exercise 2.23

Note that here, cond is used instead of if because in “else” part it is required to execute two statements. This cant be done using if.