#include <stdio.h>

int main(void) {
    int a, b, Q, R;
    printf("Geef het eerste getal: ");
    scanf("%d", &a);
    printf("Geef het tweede getal: ");
    scanf("%d", &b);
    Q = a / b;
    R = a % b;
    printf("Het quotient is: %d\n", Q);
    printf("De rest is: %d\n", R);
    fflush(stdin);
    getchar();
    return 0;
}