Euler in Groovy 1: sum of numbers
The problem is:
Print the sum of numbers less than 1000 that are divisble by 5 or 3.
Already, we're exposed to a few nifty features of Groovy - ranges, and the functional methods on arrays like findAll:
// print the sum of numbers less than 1000 that are divisble by 5 …