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.
(Java) current OP code passes the kata --> issue not reproducible
Oops. Fixed!
1.25 * 7.8 = 9.75 NOT 9.85 as the example shows. Just so you know.
Yes it should be there
Getting an error saying that numerator or denominator cannot be 0 but I already have an if-statement that throws an exception if either of them are 0's in the constructor. Why doesn't this work? What are you looking for to happen in this case??
// The test I wrote just to see if the program throws an exception, and it does. Still won't let me submit though
assertEquals("Numerator or Denominator cannot be zero", null, new Fraction(0,1));
The description had been edited by other contributer mistakenly.
Sorry for trouble. Let me know if the description is still confusing.
You can create a list/array of 100 fruits. However you can also solve the problem without creating the list (it needs to look into the list and think about it).
Please remember, there is nothing preloaded there to help you.
Sorry for the confusion, the description was edited by some other contributers.
There is no preloaded code actually.
There is no preloaded code.
You can create a list/array of 100 fruits by yourself. However you can also solve the problem without creating the list.
This comment is hidden because it contains spoiler information about the solution
Error when tried in Python
NameError: name 'Fruits' is not defined
THe array should be defined
What language?
Preloaded as Fruits[];
return Fruits;
It isn't defined.
Fix this please.
@ThomasJazz, I cannot reply to your comment for some reasons. but here is your answer:
Sorry for trouble. Let me know which part of description is unclear to you.
You can create a list/array of 100 fruits. However you can also solve the problem without creating the list (it needs to look into the list and think about it).
Please remember, there is nothing preloaded there to help you.
Fixed
ok
Loading more items...