Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int a,b;
- int quotient,remainder;
- printf("Enter two number");
- scanf("%d%d",&a,&b);
- quotient=a/b;
- remainder=a%b;
- printf("The quotient is %d\n",quotient);
- printf("The remainder is %d\n",remainder);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement