tissue710.nim 189 B

1234567891011
  1. discard """
  2. file: "tissue710.nim"
  3. line: 8
  4. errorMsg: "attempting to call routine: '||'"
  5. """
  6. var sum = 0
  7. for x in 3..1000:
  8. if (x mod 3 == 0) || (x mod 5 == 0):
  9. sum += x
  10. echo(sum)