#include<stdio.h>
#include<conio.h>
int main()
{
     int x,y;
     int quo,rem;
     printf("\n Enter the dividend : ");
     scanf("%d",&x);
     printf("\n Enter the divisor: ");
     scanf("%d",&y);
     quo = x/y;          /*it gives the quotient*/
     rem = x%y;        /* it gives remainder*/
     printf("\n The Quotient is: %d ",quo);
     printf("\n The Remainder is: %d ",rem);
     getch();
     return 0;
}

 

What Do You Think on This ? Say Here