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]
2 years ago
12

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

Mathematics
1 answer:
DedPeter [7]2 years 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
Which fraction can be replaced with
sukhopar [10]

Answer:

7/16

Step-by-step explanation:

don't ask me to explain because I won't sorry have a nice day‍♀️

7 0
1 year ago
Read 2 more answers
Find the area of the shape shown below.
Liula [17]

Answer:

31.5

Step-by-step explanation:

We can add the areas together

We have a rectangle and a triangle

The area of the rectangle is

A = lw

   = 7*3

   = 21

The area of the triangle is

A = 1/2 bh

   = 1/2 (7)*3

   = 21/2

   = 10.5

Add them together

A = 21 + 10.5

   =31.5

3 0
2 years ago
Read 2 more answers
At most, Alana can spend $40 on carnival tickets. Ride tickets cost $4 each, and food tickets cost $2 each. Alana buys at least
evablogger [386]
We can let r be the number of food tickets and f be the number of food tickets. Since Alana can spend at most $40, that means the total of price bought for r and f must be less than or equal to $40. In addition, since Alana buys at least 16 tickets, this also means that the total of r and f is 16. Mathematically, we have these inequalities: (1) 4r + 2f ≤ 40 and (2) r + f ≥ 16 Multiplying -2 in (2), we have 4r + 2f ≤ 40 -2r - 2f ≤ 32 Adding both inequalities, 2r ≤ 8 r ≤ 4 Since r must be less than or equal to 4.Thus the answer is <span>A.</span>
5 0
2 years ago
Read 2 more answers
A thin sheet of ice is in the form of a circle. If the ice is melting in such a way that the area of the sheet is decreasing at
elena-14-01-66 [18.8K]

Answer:

dx/dt  =  0,04 m/sec

Step-by-step explanation:

Area of the circle is:

A(c) =π*x²      where   x is a radius of the circle

Applying differentiation in relation to time we get:

dA(c)/dt   =  π*2*x* dx/dt    

In this equation we know:

dA(c)/dt  = 0,5 m²/sec

And are looking for dx/dt then

0,5  = 2*π*x*dx/dt    when the area of the sheet is 12 m²  (1)

When  A(c) = 12 m²      x = ??

A(c)  =  12  =  π*x²      ⇒    12  =  3.14* x²    ⇒  12/3.14  =  x²

x²  = 3,82     ⇒   x  = √3,82    ⇒  x = 1,954 m

Finally plugging ths value in equation (1)

0,5  = 6,28*1,954*dx/dt

dx/dt  =  0,5 /12.28

dx/dt  =  0,04 m/sec

7 0
2 years ago
Read 2 more answers
susan took two tests.the probability of her passing both tests is 0.6.the probability of her passing the first test is 0.8.what
OverLord2011 [107]
Formula for this is as follows:
probability of her passing both 0.6/0.8 - first test and this is a fraction. 0.6/0.8
0.6/0.8= divide 0.6 by 0.8=0.75
that means probability of her passing the second test is 75%
6 0
2 years ago
Other questions:
  • Which city is cooler, Mobile (3°F) or Memphis (9°F)?
    14·1 answer
  • Peters glasses each hold 8 fluid ounces how many glasses of juice can peter pour from a bottle that holds 2 quarts
    5·2 answers
  • Bill can paint a small house in 3 days, Sharon can paint a small house in 4 days and Wilber can paint a small house in 5 days. H
    14·1 answer
  • Tanisha lives with her older sister and helps with the rent by paying $500 per month. Her annual salary as a child care special
    12·2 answers
  • If m &lt; apd =109 and m &lt;1=17 then m&lt;bpd=
    12·1 answer
  • your realized income is $36864/yr. your fixed and housing expenses are 32% and your savings are 15% of your realized income per
    6·1 answer
  • Ingrid spends $120 on car repairs. Which integer represents the amount of money Ingrid must earn in order to create a zero pair?
    9·2 answers
  • A 16\dfrac1216 2 1 ? 16, start fraction, 1, divided by, 2, end fraction kilometer stretch of road needs repairs. Workers can rep
    13·2 answers
  • Miles has a square garden in his backyard. He decides to decrease the size of the garden by 1 foot on each side in order to make
    5·2 answers
  • A manufacturer of flash drive has a fixed cost of $10,000 and variable cost of $5 per flash drive made. Selling price is $15 per
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!