int Max(int x,int y)
{
int temp;
if(x>=y)
{
temp=x;
}
else
{
temp=y;
}
return temp;
}
int Min(int x,int y)
{
int temp;
if(x>=y)
{
temp=y;
}
else
{
temp=x;
}
return temp;
}
main()
{
int a,b,c;
int maxNumber,minNumber;
printf("Please Enter 3 Numbers: ");
scanf("%d,%d,%d",&a,&b,&c);
maxNumber=Max(a,Max(b,c));
minNumber=Min(a,Min(b,c));
printf("The Max Is: %d",maxNumber);
printf("The Min Is: %d",minNumber);
}