sicp-ex-1.4



<< Previous exercise (1.3) | sicp-solutions | Next exercise (1.5) >>


The if statement returns either a - or a +, which is then applied to the operands.

  
 (a + |b|) 
 A plus the absolute value of B