dannaasc5031 dannaasc5031
  • 25-07-2017
  • Mathematics
contestada

Write a function max that has two c string parameters and returns the larger of the two.

Respuesta :

Kalahira
Kalahira Kalahira
  • 02-08-2017
char max(char number1, char *number2){
if (strcmp(number1, number2) > 0)
return number1;
else
return number2;
}

Answer Link

Otras preguntas

Wendy played her favorite video game for 8 hours last week. Today, Wendy's parents restricted her to 6 additional hours each week for the next 9 weeks create th
Calculate the discriminant X to the power of 2 minus 2x plus 4 =0PLEASE HELP ME
Temperature and moisture are key factors in determining where each of the seven _______________ occur.
Anita has two sisters and three brothers. The mean of all their ages is 6 years. What will their mean age be 10 years from now? Twenty years from now?
Mel slides down waterslide A, and Victor slides down waterslide B. After 2 seconds, Mel was 50 feet in the air, and after 5 seconds, she was 35 feet in the air.
What do you get when you cross the Atlantic with the titanic
how does the root and shoot system function together? Please help!!
when nfr draft will start
Can someone please help me with Math I am struggling if you can answer please but if you don' t know how to please don't.
Which three bodies of water surround Greece