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.
This comment is hidden because it contains spoiler information about the solution
Whatever if condition I place in my code produces an "illegal start of expression" error! Can anybody help me?
Thanks for your reply. The thing is I am calculating this fractoin as (number of erroneous letters)/(number of erroneous letters+number of correct letters). So if the test shows that my denominator is right, so number of erroneous letters and number of correct letters should be correct, right? So why is my numerator wrong???!!!!
My code passes the first test but for the second round it fails for both cases. My problem is that the denominator is correct which is the summation of correct and erroneous letters but the numerator is wrong!(less than what it should be!) Can you help me figure out mmy problem?