Search found 2 matches

by ketan
Tue Aug 17, 2010 5:34 am
Forum: Common Lisp
Topic: can u help me to solve this ...plzzz
Replies: 4
Views: 9571

can u help me to solve this ...plzzz

You can view the process of making changes as recursive. You first see if any dollars are required, subtract them from the total, and then make change for what remains. The following function implements such a recursive approach to making change. The function make-change converts a given number of c...
by ketan
Wed Aug 04, 2010 12:59 am
Forum: Common Lisp
Topic: DECIMAL NO. TO ROUND NO. ??
Replies: 1
Views: 2558

DECIMAL NO. TO ROUND NO. ??

HOW TO CONVERT DECIMAL NO TO ROUND NO..
EX. 3.14 SHOULD COME 3. OR 3.78, 3.86 SHOULD ALSO COME 3.