#include <stdio.h>

int main() {
    int a, b, quo, rem; 
    printf ("Enter the dividend : ",a);
    scanf ("%d",&a);
    printf ("%d\n",a);
    
    printf ("Enter the divisor :",b);
    scanf ("%d",&b);
    printf ("%d\n",b);
    
    quo=a/b;
    rem=a% b;
    
    printf ("Quotient is :%d\n",quo);
    printf ("Remainder is :%d\n",rem);
    return 0;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: