DEV Community

Discussion on: Daily Challenge #135 - The Wide Mouthed Frog!

Collapse
 
peledzohar profile image
Zohar Peled

Am I missing something here or is this really not a challenge at all?

public string mouth_size(string animal)
{
    return string.Equals(animal, "alligator", StringComparison.OrdinalIgnoreCase) ?
         "small" :
         "wide";
}
Collapse
 
nickholmesde profile image
Nick Holmes

Challenge or not, at this time there are 6 solutions posted here, and (I believe) only 2 are completely to spec.

Collapse
 
peledzohar profile image
Zohar Peled

Most seem legit to me... Maybe a typo here and there...

Thread Thread
 
nickholmesde profile image
Nick Holmes

and not handling case insensitivity.