#include <stdio.h>

int main()
{
    int num1,num2,quotient,remainder;
printf("enter the first number:\n");
    scanf("%d",&num1);
    printf("enter the second number:\n");
     scanf("%d",&num2);
    quotient=(num1/ num2);
         remainder=(num1%num2);
    printf ("the value of quotient and remainder=%d\n",quotient);
  printf ("the value of remainder=%d\n",remainder);
}

Embed on website

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