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