Respuesta :

You did not mention what programming language you are using. If you are using C# this code will do:

public static string min(string s1, string s2, string s3)
{
* * return new [] { s1, s2, s3 }.Min();
}