C Program for MOD Program Code

Program Code for MOD in C language

#include
#include
void main()
{
int a,b,c;
clrscr();
printf(“Enter two numbers:n”);
scanf(“%d%d”,&a,&b);
c=a%b;
printf(“Result is :%d”,c);
getch();
}

Add Comment