tintlemax184 tintlemax184
  • 10-11-2017
  • Computers and Technology
contestada

Write a function min that has three c string parameters and returns the smallest.

Respuesta :

meerkat18
meerkat18 meerkat18
  • 22-11-2017
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();
}
Answer Link

Otras preguntas

Which organelle can be compared to a security guard who decides whom may enter a building and whom may not
Eduardo used fabric to make three costumes. he used 1/4 yard for first then 2/4 yard for the second and 3/4 yard for the third costume. how much fabric did Edua
why were abolitionists opposed to how cotton was produced in the south
What happens to an igneous rocks that makes finding fossils in them likely
During the 17th and 18th centuries, the English and French competed for control of North America and what else? A) seas B) sugar trade C) rivers D)
explain how to break apart the addends to find the sum of 26+16.
6. The words disclosure and concealment are A. homonyms. B. antonyms. C. synonyms. D. equivalents.
why was the 14th amendment significant to the civil rights movement?
Do you think that consumers gained power as industry expanded in the late 19th century? Why or why not?
Kimo divided a number by 3, subtracted 6, multiplied by 3.6 and added 12 to get 282. What number did he start with?