0

This code is supposed to take two numbers, and multiply them, divide them and print out the product and quotient. ive checked it over numerous times and cannot figure out where my error is, when i type in a real number and 0, the result screen shuts off prematurely..can anyone tell me where the error is

```
#include <stdio.h>
int main () {
int x,y;
printf("\nPlease enter two real numbers: ");
scanf("%d%d", &x,&y);
if (x>0 && y==0) {
printf("\nError: Dividing by Zero");
printf("\nThe product of %d and %d is: %d.",x,y,x*y);
}
else if (x==0 && y==0) {
printf("\nEnd of Program");
}
do {
printf("\nThe product of %d and %d is: %d.",x,y,x*y);
printf("\nThe Quotant of %d and %d is: %d.",x,y,x/y);
printf("\nPlease enter two real numbers: ");
scanf("%d%d", &x,&y);
if (x>0 && y==0) {
printf("\nError: Dividing by Zero");
printf("\nThe product of %d and %d is: %d.",x,y,x*y);
}
else if (x==0 && y==0) {
printf("\nEnd of Program");
}
} while ( x>0 && y>0 );
return 0;
}
```

thanks in advance...also could someone tell me how to mark a thread as closed?