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
Emerson purchased a game that was on sale for 18% off. The sales tax in his county is 8%. Let y represent the original price of
leva [86]

Answer:

y(.82)*1.08

Step-by-step explanation:

You multiply by .82 to get the cost of the game after the discount and then by 1.08 to add the tax and total amount.  

6 0
2 years ago
Read 2 more answers
A piece of wire 24 ft long is cut into two pieces. One piece is used to form a square, and the remaining piece is used to form a
abruzzese [7]

Answer:

SAY WHAT

Step-by-step explanation:

5 0
2 years ago
How do you simplify (25/a -a l) / (5+a)
andrey2020 [161]

Simplify the following:

(25/a - a l)/(a + 5)


Put each term in 25/a - a l over the common denominator a: 25/a - a l = 25/a - (a^2 l)/a:

(25/a - (a^2 l)/a)/(a + 5)

25/a - (a^2 l)/a = (25 - a^2 l)/a:

Answer: ((25 - a^2 l)/a)/(a + 5)

7 0
2 years ago
What is the pressure difference Δp=pinside−poutside? Use 1.28 kg/m3 for the density of air. Treat the air as an ideal fluid obey
Sidana [21]

This is an incomplete question, here is a complete question.

A hurricane wind blows across a 7.00 m × 12.0 m flat roof at a speed of 150 km/h.

What is the pressure difference Δp = p(inside)-p(outside)? Use 1.28 kg/m³ for the density of air. Treat the air as an ideal fluid obeying Bernoulli's equation.

Answer : The pressure difference will be, 1.11\times 10^3Pa

Step-by-step explanation :

As we are given:

Speed = 150 km/h = 41.66 m/s

Density = \rho=1.28kg/m^3

Area = A = 7.00 m × 12.0 m

Formula used :

\Delta P=\frac{1}{2}\times \rho \times v^2

Now put all the given values in this formula, we get:

\Delta P=\frac{1}{2}\times (1.28kg/m^3)\times (41.66m/s)^2

\Delta P=1.11\times 10^3Pa

Thus, the pressure difference will be, 1.11\times 10^3Pa

7 0
2 years ago
The national mean annual salary for a school administrator is $90,00 a year (The Cincinnati Enquirer, April 7, 2012). A school o
timofeeve [1]

Answer:31) The Coca-Cola Company reported that the mean per capita annual sales of its beverages in the United Sates was 423 eight-ounce servings. Suppose you are curious whether the consumption of Coca-Cola beverages is higher in Atlanta. A sample of 36 individuals from the Atlanta area showed a sample mean annual consumption of 460.4 eight ounce servings with a standard deviation of s=101.9 ounces. Using a=.05, do the sample results support the conclusion that mean annual consumption of Coca-Cola beverage products is higher in Atlanta

Step-by-step explanation:29) The national mean annual salary for a school administrator is $90,000 a year. (The Cincinnati Enquirer, April 7, 2012) A school official took a sample of 25 school administrators in the state of Ohio to learn about salaries in that state to see if they differed from the national average.

a) Formulate hypotheses that can be used to determine whether the population mean annaual administrator salary in Ohio differs from the nation mean of $90,000.

b) The sample data for 25 Ohio administrators is contained in the file named Administrator. What is the p-value for you hypothesis test in part (a)?

c) A a=.05 can your null hypothesis be rejected? What is your conclusion?

d) Repeat the preceding hypothesis test using the critical value approach.

6 0
1 year ago
Other questions:
  • Ella spent her whole allowance of $2.00, plus the 16¢ she had left over from last week, in bubble gum. If the pieces of gum had
    14·2 answers
  • An in ground rectangular pool has a concrete pathway surrounding the pool. if the pool is 16 feet by 32 feet and the entire area
    15·1 answer
  • The semicircle shown at left has center X XX and diameter W Z ‾ ​WZ ​ ​​ start overline, W, Z, end overline. The radius X Y ‾ ​X
    7·1 answer
  • Annie and Dustin took a beginner's programming course over several weekends that showed them how to make simple video games. The
    11·1 answer
  • a phone plan has a limit of $25 that can be spent on text messages. the base cost of the text plan will cost a user $5. each tex
    12·2 answers
  • What is the main reason Dylan uses the word uses the word “lonesome” to describe Hattie Carroll’s death?
    9·1 answer
  • Consider the following equivalent expressions: 38÷1312 and 38⋅ab. What are the values of a and b? Give the value of a followed b
    6·1 answer
  • Select ALL the correct answers. MORE THAN ONE ANSWER!!
    12·1 answer
  • 25 POINTS!!!!! add. express your answer as a fraction. Do not include spaces in your answer 5 1/4+ 15.5
    15·2 answers
  • Fredrick hit 14, 18, 13, 12, 12, 16, 13, 12, 1, and 15 home runs in 10 seasons of play. Which statements are correct? Check all
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!