Advertisement
Md_hosen_zisad

perform test3

Oct 25th, 2017
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int n,a,b,c;
  5. scanf("%d",&n);
  6.  
  7. while(n--)
  8. {
  9. scanf("%d",&a);
  10. scanf("%d",&b);
  11. c=(a%b);
  12. printf("%d",c);}
  13.  
  14.  
  15.  
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement