NB. convert 38 cents to pennies, nickels, dimes, quarters.

   38 #:~ COINS =: |. 1 5 2 5r2 2
1 1r2 1 3 0

   NB. why do I get a half dime and a nickel?

   COINS #. 1 1 0 3 0
38

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to