/* the switching program */
#include <stdio.h>
int
main (void)
{
int x, y, temp;
/* Enter the two numbers */
printf("Enter the two numbers > ");
scanf("%d %d", &x, &y);
/* switch if x is larger than y */
if (x > y)
{
temp = x;
x = y;
y = temp;
}
printf ("x is %d and y is %d. \n", x, y);
return (0);
}