Advertisement
Guest User

Untitled

a guest
May 29th, 2015
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.         int x,y,i=0;
  5.         scanf("%d %d",&x,&y);
  6.           i=y%x;
  7.           y=y-(x*i);
  8.           if(y!=0)
  9.             i++;    
  10.         printf("%d",i);
  11.         return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement