#include <stdio.h>

int main() 
{
    int Divd,Dev,quot,remi;
    printf("Enter number 1:");
    scanf("%i",&Divd);
    printf("%i\n",Divd);
    printf("Enter number 2:");
    scanf("%i",&Dev);
    printf("%i\n",Dev);
    quot= Divd/Dev ;
    remi=(Dev*quot)-Divd;
    printf("--------------------------\n");
    printf("the Quotient : %i \n",quot);
    printf("---------------------------\n");
    printf("the Remainder : %i \n",remi);
}

Embed on website

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