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
There're 1500+ completions in C++, and
0
is never passed in as input. I'm not sure what you're talking about, but everything is working and described correctly.std::cout doesn't seem to be printing expected output despite including 'iostream' and 'string'.
I get numbers (memory slots?) when I try to cout strings. What is the expected for a failed one in the 'Attempted' tests? hmm It looks as if it stops my recursion after a certain amount of attempts maybe.
C++ -> 0 maps to "not at all" in the instructions it says nb_petals > 0. I think the instructions need to be updated.
Your goal in this kata is to determine which phrase the girls would say for a flower of a given number of petals, where nb_petals > 0.