haskell code.
I think you have an error in the otherwiseTry this:| otherwise = div (k + (div (n-1) k)) 2
I think you have an error in the otherwise
ReplyDeleteTry this:
| otherwise = div (k + (div (n-1) k)) 2