1answer.
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
Ray Of Light [21]
3 years ago
12

Write the definition of a function minmax that has five parameters. the first three parameters are integers. the last two are se

t by the function to the largest and smallest of the values of the first three parameters. the function does not return a value. the function can be used as follows: int a=31, b=5, c=19 big, small; minmax(a,b,c,&big,&small);
Mathematics
1 answer:
Nitella [24]3 years ago
8 0
Hello,


function minmax(int p1,int p2,int p3, int adr_big, int adr_small)
{ int mini=p1,maxi=p1;
 if (p1>p2)   {mini=p2;}
else            {maxi=p2;};

if (p3>maxi) maxi=p3;
if (p3<mini) mini=p3;
*adr_big=maxi;
*adr_small=mini;
};

// main
int a=31,b=5,c=19,big,small;
minmax(a,b,c,&big,&small);





You might be interested in
Help ^^^ use picture above
aalyn [17]
The question reminds you of all the tools you need:

It says ...

"Opposite angles are equal."
So the upper right angle is x+40 just like the bottom left,
and the bottom right angle is 3x+20 just like the upper left.

And it says ...

"The sum of all angles is 360°."
You know what each of the four angles is, so you can addum all up,
set the sum equal to 360, find out what number ' x ' is, and then
use that to find the size of every angle.  

8 0
3 years ago
Read 2 more answers
A gift box has the shape of a cube with an edge length of 4.5 in.
DIA [1.3K]

Answer:

4.5 times 4.5 times 4.5 = 91.125

Step-by-step explanation

To find the volume you do v= length times width times height.

6 0
3 years ago
Read 2 more answers
-9x^5 + 36x^4 + 189x^3 in factored form
Alex73 [517]

Answer:

-9x^5(x+3)(x-7)

Step-by-step explanation:

factor out -9x^3 from the expression

8 0
4 years ago
How can I get this count <br>y = 0.75x + 0.25​
Andrews [41]

Answer:

what the question

?

Step-by-step explanation:

6 0
3 years ago
The Greek alphabet contains 24 letters. How many fraternity names with Greek letters can be formed if each fraternity name conta
Ulleksa [173]
A fraternity name formed by two letters would have 24 choices for the first letter, and 24 choices for the second, therefore 24*24=576 is the correct answer.
7 0
3 years ago
Read 2 more answers
Other questions:
  • Solve the right triangle shown in the figure.<br> B = 16.9°, b = 30.5
    15·1 answer
  • A six foot tall man casts a shadow that is 10 feet long. if a tree next to the man casts a 25 foot shadow. how tall is the tree?
    6·1 answer
  • What is the value of x
    14·1 answer
  • Which statement is true
    15·1 answer
  • I need help with my math. I don't understand any of it. :(
    10·2 answers
  • What are the zeros for y = x squared - 4
    12·1 answer
  • What expression is equivilent to -51-(-60)
    7·1 answer
  • The area if the top of a cube is 9 aquare meters . what is the volume of the cube?​
    10·2 answers
  • Help ASAP
    9·1 answer
  • Instructions: Rewrite the equation in Slope-Intercept Form. y−2=−2/5(x−5)
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!