![alexandrafaber93061](/avatars/27459.jpg)
alexandrafaber93061
30.07.2019 •
Mathematics
Write the definition of a function minmax that has five parameters. the first three parameters are integers. the last two are set 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);
Solved
Show answers
More tips
- P Philosophy Unidentified Flying Object - What is the Nature of this Phenomenon?...
- F Family and Home Protect Your Home or Apartment from Pesky Ants...
- O Other What is a Disk Emulsifier and How Does it Work?...
- H Health and Medicine How to Calm Your Nerves? Expert Tips That Actually Work...
- A Animals and plants 5 Tips for Taking Care of Yews to Keep Them Green and Beautiful...
- S Sport How to wrap boxing hand wraps? Everything you need to know!...
- F Food and Cooking 10 Reasons Why You Should Avoid Giving Re-Gifts: An Informative Guide...
- F Family and Home Tender Care for Your Parquet: Is it Possible to Clean Parquet?...
- S Style and Beauty How Are Eyelash Extensions Applied? All Your Questions Answered...
- F Food and Cooking 10 Tips for Proper Sushi Consumption...
Answers on questions: Mathematics
- M Mathematics Algebra 2 questions: 1. which of the following statements is true? the 2 in (a) and (d) is supposed to be i squared.(a) i2=-1 (b) √-5=i√5(c) √-4=2i(d) -7•i2=7(e) all the above(f)...
- M Mathematics What is the equation, in point-slope form, of the line that is perpendicular to the given line and passes through the point (, 3)?...
- H History Which country shut down the Catholic missions? A) Spain B) Mexico C) Anglo...
- B Business At year-end, salaries expense of $17,000 has been incurred by the company but is not yet paid to employees. Salaries payable Step 1: Determine what the current account balance...
- B Business Don Jorge, Empresario y cliente prime de la banca empresa, le consulta a usted, como Gerente, los datos personales de un diputado de la República y un breve comentario sobre su...
- M Mathematics Anyone can help??? can we hit 300 subs on yt??? i will be doing 100 points giveaway, just 17 subs away, its called faze land2 23939393+123232323=??...
Ответ:
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);
Ответ:
can you add a graph
Step-by-step explanation: