Make your own free website on Tripod.com

Program

 

#include<stdio.h>

 

void main()

 

{

 

           int a,b;

 

           scanf("%d,%d"&a,&b);

 

           if (a > b)

                {

b=b-a;

a=a+b;

a=a-b;

}

if (b>a)

{

a=a-b;

b=b+a;

a=b-a;

}

printf (%d,%d,&a,&b);

}