Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int X,Y,Z;
- scanf("%d%d",&X,&Y);
- Z=((Y-X)/2)+X;
- printf("%d",Z);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement