View Single Post
Old 18-08-2009, 10:40   #88
danielf
cf.mega poser
 
danielf's Avatar
 
Join Date: Jun 2003
Posts: 16,687
danielf has a golden auradanielf has a golden auradanielf has a golden aura
danielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden auradanielf has a golden aura
Re: Programming Challenges?

Quote:
Originally Posted by Fobic View Post
Try wrapping the code in [Code][/Code] tags inside the [Spoiler][/Spoiler] tags.

i.e.

[Spoiler][Code]
.....
......
[/Code][/Spoiler]

or similar.
Cheers!

Spoiler: 
Code:
(defun mortgage (balance payment rate months)
  (if
      (< balance 0)
      (print months)
    (mortgage (- (+ (* (/ rate 12) balance) balance) payment) payment rate (+ months 1))))
__________________
Remember kids: We are blessed with a listening, caring government.
danielf is offline   Reply With Quote