Programming Code Center(PCC)
[C]

(PCC)::[C-Program-to-Compute-Quotient-and-Remainder-with-there-proper-output]::[c]

File Name : Quotient_and_Remainder.c

#include <stdio.h>
int main() {
    int dividend, divisor, quotient, remainder;
    printf("Enter dividend: ");
    scanf("%d", &dividend);
    printf("Enter divisor: ");
    scanf("%d", &divisor);

    // Computes quotient
    quotient = dividend / divisor;

    // Computes remainder
    remainder = dividend % divisor;

    printf("Quotient = %d\n", quotient);
    printf("Remainder = %d", remainder);
    return 0;
}

Output :

Quotient_and_Remainder.jpg