answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Sidana [21]
1 year ago
12

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

Mathematics
1 answer:
DedPeter [7]1 year ago
7 0
<span>char max(char number1, char *number2){
if (strcmp(number1, number2) > 0)
return number1;
else
return number2;
}</span>
You might be interested in
Charmaine pays $848 for landscaping rocks for a project. The cost per pound is 32 cents. How many pounds did she purchase?
otez555 [7]
Okay so since it is 32 cents, it will be 0.32
You need to find the number of pounds
So, do 848/0.32
You get 2650
Charmaine purchased 2,650 pounds of rocks
hope this helps:)
6 0
1 year ago
Read 2 more answers
Paulina is remodeling her bathroom. the tile she has chosen are squares and trapezoids. the side length of each square inthe til
NemiM [27]
Check the picture below.

is not very specific above, but sounds like it's asking for an equation for the trapezoid only, mind you, there are square tiles too.

but let's do the trapezoid area then, 

\bf a^{\frac{{ n}}{{ m}}} \implies  \sqrt[{ m}]{a^{ n}} \qquad \qquad&#10;\sqrt[{ m}]{a^{ n}}\implies a^{\frac{{ n}}{{ m}}}\\\\&#10;-------------------------------\\\\

\bf A=\cfrac{h(a+b)}{2}\quad &#10;\begin{cases}&#10;A=At\\&#10;a=x\\&#10;h=x\\&#10;b=2x&#10;\end{cases}\implies At=\cfrac{x(x+2x)}{2}&#10;\\\\\\&#10;At=\cfrac{x(3x)}{2}\implies At=\cfrac{3x^2}{2}\impliedby \textit{now, solving for \underline{x}}&#10;\\\\\\&#10;2At=3x^2\implies \cfrac{2At}{3}=x^2\implies \sqrt{\cfrac{2At}{3}}=x\implies \left( \frac{2At}{3} \right)^{\frac{1}{2}}=x

8 0
2 years ago
The price per night for a hotel room is different at three different hotels.
Damm [24]
I think you meant it to be not repeating 3 times so
You do 192/3 is 60*3= 180 leaving you with 12 which is 4*3. So 64 is A
Then it’s 300/5 which is 60
455/7. So first see, if I multiply 7 by 60 is it over or under. If it’s over then B is the least and if it is less then C is the least. So 7 *60 is 420
C Being greater, b costs least per night
4 0
1 year ago
What are the solution(s) to the quadratic equation 50 – x2 = 0? x = ±2Plus or minus 2 StartRoot 5 EndRoot x = ±6Plus or minus 6
Serga [27]

Question:

What are the solution(s) to the quadratic equation 50 – x2 = 0?

A) x = ±2Plus or minus 2 StartRoot 5 EndRoot

B) x = ±6Plus or minus 6 StartRoot 3 EndRoot

C) x = ±5Plus or minus 5 StartRoot 2 EndRoot

D) no real solution

Answer:

C) x = ±5Plus or minus 5 StartRoot 2 EndRoot

3 0
2 years ago
Read 2 more answers
Write 55,426 using the number names
Aleks04 [339]

Answer:

fifty five thousand four hundred and twenty six.

Step-by-step explanation:

4 0
1 year ago
Read 2 more answers
Other questions:
  • What type of number is shown below? 0.313311333111...
    13·1 answer
  • Simplify.<br><br> (8 + 14m) + m
    6·2 answers
  • I AM GIVING 99 POINTS!
    8·2 answers
  • A die is rolled then a letter in the word STATISTICS is randomly selected. What is the probability of at least a 3 then the lett
    8·2 answers
  • To the nearest tenth, what is the y-coordinate for point A? 4.5 4.6 4.7 4.8
    13·2 answers
  • How would the fraction 1/3+square root of 2 be rewritten if its denominator is rationalized using difference of squares? A. 3-sq
    9·2 answers
  • The IPhone 7 costs about $220 for Apple to make, but they cost about $700 in stores. What is the markup percentage of the IPhone
    7·2 answers
  • At a campground, a rectangular fire pit is 3 feet by 2 feet. What is the area of the largest circular fire that can be made in t
    8·1 answer
  • Carla trabaja en el área de compras de una empresa que tiene 8 sucursales a lo largo de Chile. A pedido de su jefe necesita comp
    5·1 answer
  • There are 3 people in a room, and we are curious whether two of them have their birthday in the same month. We record the triple
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!