[Cialug] Algorithm

Morris Dovey cialug@cialug.org
Sun, 16 Jan 2005 03:20:45 -0600


Chris Hilton wrote:
> The answer is always 0.  int(.92) is 0.  I don't see how you
> can do integer arithmetic on a non-integer value. Surely you
> are reading the directions wrong somehow...

Yuppers. Requires magic (left as an exorcise for the student)

(-8

-- 
Morris Dovey
West Des Moines, Iowa USA