Advertisement
yigitusta9

LG5_1

Oct 7th, 2015
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.32 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. int main ()
  5. {
  6.     int num1,num2;
  7.     printf("Enter the value of num1: ");
  8.     scanf("%d",&num1);
  9.  
  10.     printf("Enter the value of num2: ");
  11.     scanf("%d",&num2);
  12.  
  13.     printf("The result is %d\n", abs(num1 - num2) * 12 == 60 || num1 / num2 != -2 && (num2 - 1) / (num1 + 9) > 0 );
  14.  
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement