So my question is how do you keep it from shutting down automatically
- C Program
#include <stdio.h>
main ()
{
int a, b, Q, R;
printf("Give the first whole number: ");
scanf("%d", &a);
printf("Give the second whole number: ");
scanf("%d", &b);
Q = a/b;
R = a%b;
printf("The quotient is: %d\n", Q);
printf("The rest is: %d\n", R);
return 0;
}
Edited by Jordan, 26 September 2008 - 03:33 PM.


Sign In
Create Account


Back to top









