Advertisement
Avdluna

Asaudaisdg

Jun 25th, 2015
224
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. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.    long int x ,y ,z;
  7.  
  8.     while(scanf("%ld %ld", &x, &y) != EOF){
  9.  
  10.  
  11.         z = abs(x - y);
  12.  
  13.         printf("%ld\n", z);
  14.     }
  15.  
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement