Easy :)

Function call has precedence over (-)

So

factorial n-1

is really

(factorial n) - 1

So in general you want to parenthesise separate function arguments.

fun (a+b) (c+d)

See

[link:msdn.microsoft.com]

By on 5/19/2010 5:52 AM ()

:)

By on 5/19/2010 6:21 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper