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.
I test it and all basic tests pass. I attempt it, and no basic tests pass but all random tests pass.....
Wow!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
exam >= 90
is also wrong in your code. As well as several other conditions, check them all again.If it's not difficult for you, then could you tell us which tests give the wrong answer for
projects > 10
andprojects >= 10
.if I use >= 10 some test cases fail, if I use > 10 other test cases fail. Either way, something is failing.
Obviously with exam = 0 and projects = 10 neither of those conditions is true. The same with exam = 32.
Check the conditions and the operators you're using. 10 isn't more than 10.
Test failed: exam = 0, projects = 10: expected 100 to equal +0
Testing for exam = 32, projects = 10: expected 100 to equal +0
Since projects is 10, shouldn't this be 100? What am I missing?