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.
Hi! In C++ it allowed me to complete it without logical errors only with one test case:
if(sperm == "XX") {
sperm = "Congrats....female";
}
sperm = "Congrats....male";
}
So if there is input different than "XX" it will pass too. I think it will me more interesting if the test cases brings error for input different than "XX" or "XY" and it will lead to use of "else if". Cheers!