Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int divided,divisor,quotient,remainder;
- printf("Divided:");
- scanf("%d",÷d);
- printf("Divisor:");
- scanf("%d",&divisor);
- quotient=divided/divisor;
- remainder=divided%divisor;
- printf("Quotient:%d\n",quotient);
- printf("Remainder:%d\n",remainder);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement