#include <stdio.h>
#include <stdlib.h>
#include <string.h>


int main(int argc, char** argv){
	ldiv_t division;
	long int num, den;
	if (argc!=3)
		printf("Il manque des argument!");
	num=strtol(argv[1],NULL,10);
	den=strtol(argv[2],NULL,10);
	division=ldiv(num,den);
	printf("quotient : %ld\n",division.quot);
	printf("reste : %ld\n",division.rem);
	return EXIT_SUCCESS;
}