Test Results:
Multiples of 3 and 5
should handle basic cases
5 should equal 23
9 should equal 78
should handle zeroes (2 of 2 Assertions)
should handle large numbers
93 should equal 9168
You're provided with a function which receives an argument as input, and should return a value as output. Why are you reading from stdin and writing to stdout?
yeah, IT WORKS FINE NOW, THNX
a bit easy I would say
Please use markdown code formatting next time.
The problem is that you're counting the number itself, but you should only count below it.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
...
Post your code with correct markdown formatting, because I've no idea what you've written.
This comment is hidden because it contains spoiler information about the solution
Test Results:
Multiples of 3 and 5
should handle basic cases
5 should equal 23
9 should equal 78
should handle zeroes (2 of 2 Assertions)
should handle large numbers
93 should equal 9168
can someone tell me, what's wrong with that??
You're provided with a function which receives an argument as input, and should return a value as output. Why are you reading from
stdin
and writing tostdout
?This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
No, I marked it as a spoiler.
ok, got it!!
but i guess i marked it as spoiler
If you post your code you need to mark it with a spoiler flag.
Your function needs to return the answer, not print it.
Loading more items...