Guest User

Untitled

a guest
Nov 20th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(){
  4. int a, b;
  5. scanf("%d", &a);
  6. scanf("%d", &b);
  7. if(a-b>=0){
  8. printf("%d\n", a-b);
  9. }else if(b-a>=0){
  10. printf("%d\n", b-a);
  11. }
  12. }
Add Comment
Please, Sign In to add comment