in reply to Re: John Guttag's book - 2nd exercise. My attempt in Perl.in thread John Guttag's book - 2nd exercise. My attempt in Perl.
Hi,
Modulo Operator can be used as I've used in my code. Sorry I should've stated that earlier.