Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int a,b,div,rem;
- scanf("%d%d",&a,&b);
- div=a/b;
- rem=a%b;
- printf("Quotient=%d\n",div);
- printf("Remainder=%d\n",rem);
- getch();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement