update
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -1,20 +0,0 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
long int dividend;
|
||||
long int divisor;
|
||||
ldiv_t result;
|
||||
|
||||
printf("Votre dividende : ");
|
||||
scanf("%ld", ÷nd);
|
||||
|
||||
printf("Votre diviseur : ");
|
||||
scanf("%ld", &divisor);
|
||||
|
||||
result = ldiv(dividend, divisor);
|
||||
printf("quotient : %ld\n", result.quot);
|
||||
printf("reste : %ld\n", result.rem);
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
Reference in New Issue
Block a user