Advertisement
PikMike

Untitled

Apr 20th, 2017
384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(){
  4.     int n;
  5.     scanf("%d", &n);
  6.    
  7.     (n > 5 ? printf("0") : printf("1"));  // 1
  8.        
  9.     if (n > 5)                            // 2
  10.         printf("0");
  11.     else
  12.         printf("1");
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement