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