Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Please write a code by a master of C language: input three integers and output the maximum, minimum and intermediate values at the same time.
Please write a code by a master of C language: input three integers and output the maximum, minimum and intermediate values at the same time.
# Contains? & ltstdio.h & gt

int? Master ()

{

int? First,? b,? c;

int? maxv,? Rice girl? Sum;

Scanf("%d%d%d ",&a,? & ampb,? & ampc);

sum = a+b+c;

Rice girl =maxv? =? a;

If (Minv & gtb) Minv = b;;

If (Minv & gtc) Minv = c;;

if(maxv & lt; b)maxv = b;

if(maxv & lt; c)maxv = c;

printf? (" %d? %d? %d\n ",maxv,? Rice girl? Sum-maxv- rice girl);

Return? 0;

}