Problem 1 in F#
Post date: Aug 27, 2009 8:17:45 AM
let summering =
{1..999}
|> Seq.filter(fun x -> ((x % 3 = 0 ) || (x % 5 = 0)))
|> Seq.sumByInt (fun x -> x)
Post date: Aug 27, 2009 8:17:45 AM
let summering =
{1..999}
|> Seq.filter(fun x -> ((x % 3 = 0 ) || (x % 5 = 0)))
|> Seq.sumByInt (fun x -> x)