Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
But there's no harm in doing that.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
You can return the function atoi's output directly without defining an integer. Nice work. Keep it up
Grammar:
Pointers is NOT equal! should be Pointers are NOT equal!Yes needs, but i don't know how to do this tests.
Needs more tests (preferably randomized).
I think any non-zero exit code is failure by default, any different behavior is a rare exception that has to be dealt with manually.
There are no standards for exit code and hence "FAILURE parameter" is not telling what should be passed in to
exit
.Don't think var name matters in such simple solutions. 'tot'|'sum' definetely better here but...
Best practice? Misleading variable name
avg
, should besum
ortot
orx
, or anything butavg