File tree 1 file changed +9
-9
lines changed
algorithms-and-data-structures/project-euler/001-multiples-of-3-or-5
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ returns the sum of all the multiples of 3 or 5 that are less than the given
17
17
18
18
## Examples
19
19
20
- ```
21
- muls-of-3-or-5( -1) returns 0
22
- muls-of-3-or-5( 0) returns 0
23
- muls-of-3-or-5( 1) returns 0
24
- muls-of-3-or-5( 3) returns 0
25
- muls-of-3-or-5( 5) returns 3
26
- muls-of-3-or-5( 6) returns 8
27
- muls-of-3-or-5( 10) returns 23
28
- muls-of-3-or-5( 30) returns 195
20
+ ``` text
21
+ ( muls-of-3-or-5 -1) evaluates to 0
22
+ ( muls-of-3-or-5 0) evaluates to 0
23
+ ( muls-of-3-or-5 1) evaluates to 0
24
+ ( muls-of-3-or-5 3) evaluates to 0
25
+ ( muls-of-3-or-5 5) evaluates to 3
26
+ ( muls-of-3-or-5 6) evaluates to 8
27
+ ( muls-of-3-or-5 10) evaluates to 23
28
+ ( muls-of-3-or-5 30) evaluates to 195
29
29
```
30
30
31
31
## Resources
You can’t perform that action at this time.
0 commit comments