Click Here to see the problem detail.
Solution
This problem is very easy to solve. Just read the problem carefully try to understand what they say. Don’t copy paste.
Source Code
#include<stdio.h> int main() { long int a,b; while(scanf("%ld%ld",&a,&b)==2) { if(a>b) printf("%ld\n",a-b); else printf("%ld\n",b-a); } return 0; }
Next Previous