shipuahamed.com
Uva 12468 – Zapping | Shipu's Blog
Problem:- main(){ int a,b,i,c; while(scanf("%d%d",&a,&b)==2&& a>=0&&b>=0) { c=abs(a-b); if(c>=50) c=100-c; printf("%dn",c); } return 0;}At First you can try to solve this problem if you can't than see this code & find what's your problem . If you copy paste this code you could not improve yourself in programming .