Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Write a C language program, input three plastic variables X, Y and Z, and output the minimum value.
Write a C language program, input three plastic variables X, Y and Z, and output the minimum value.
# include & ltstdio.h & gt

void main()

{

int a,b;

printf(" a = ");

scanf("%c ",& ampa);

If (a> =' a' & AMPA & lt =' z')

{

b = 1;

If (a> =' a' & AMPA & lt =' z')

b = 2;

else b = 3;

}

printf("b=%d\n ",b);

/*int a,b;

scanf("%d ",& ampb);

a =(b & gt; 3)? 1:2;

printf("%d\n ",a); */

/* char ch;

scanf("%c ",& ampch);

ch =(ch & gt; = ' A ' & amp& ampch & lt='Z ')? (ch+32):ch;

printf("%c\n ",ch); */

}