Try using two scanf statements.
...
printf("Input first number: ");
scanf("%d", &x);
printf("Input second number: ");
scanf("%d", &y);
...
Type: Posts; User: Babkockdood
Try using two scanf statements.
...
printf("Input first number: ");
scanf("%d", &x);
printf("Input second number: ");
scanf("%d", &y);
...