#include<stdio.h>
int mymod(int a,int b)
{ int m;
m=a%b;
return m;
}
main()
{ int T,x,y;
printf("Enter x,y: ");scanf("%d%d\n",&x,&y);
T=mymod(x,y);
printf("x=%d y=%d T=%d\n",x,y,T);
}
#include<stdio.h>
int mymod(int a,int b)
{ int m;
m=a%b;
return m;
}
main()
{ int T,x,y;
printf("Enter x,y: ");scanf("%d%d\n",&x,&y);
T=mymod(x,y);
printf("x=%d y=%d T=%d\n",x,y,T);
}
#include<stdio.h>
int mymod(int a,int b)
{ int m;
m=a%b;
return m;
}
main()
{ int T,x,y;
printf("Enter x,y: ");scanf("%d%d",&x,&y);
T=mymod(x,y);
printf("\nx=%d y=%d T=%d\n",x,y,T);
getchar();getchar();
return 1;
}