Ad
  • Custom User Avatar

    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!