Question: maplet programming

how do i write this procedure in maplet. 

inte := proc (n::integer) local i, p; p := n; for i from n-2 by -2 to 2 do p := p*i end do; printf(" doublefactorial of %d is %d ", n, p); if `mod`(n, 2) = 0 then printf(" it is even ") else printf(" it is odd ") end if end proc;


This has been branched into the following page(s):
Please Wait...