title: Check Whether Given Number Even Odd 1
signature: check_whether_given_number_even_odd_1 <- function(n) {
test_code: 
  
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  validate_solution <- function(actual, expected) {
      toString(actual)==toString(expected)
  }
  
  driver <- function(n, expected){
      if (validate_solution(PLACEHOLDER_FN_NAME(n), expected)){
          "PASSED"
      } else{
          "FAILED"
      }
  }
  
  main <- function() {
      cat(sprintf("TEST-0...%s\n",driver(
          57L, 
          FALSE
      )))
  
      cat(sprintf("TEST-1...%s\n",driver(
          73L, 
          FALSE
      )))
  
      cat(sprintf("TEST-2...%s\n",driver(
          79L, 
          FALSE
      )))
  
      cat(sprintf("TEST-3...%s\n",driver(
          36L, 
          TRUE
      )))
  
      cat(sprintf("TEST-4...%s\n",driver(
          71L, 
          FALSE
      )))
  
      cat(sprintf("TEST-5...%s\n",driver(
          23L, 
          FALSE
      )))
  
      cat(sprintf("TEST-6...%s\n",driver(
          41L, 
          FALSE
      )))
  
      cat(sprintf("TEST-7...%s\n",driver(
          66L, 
          TRUE
      )))
  
      cat(sprintf("TEST-8...%s\n",driver(
          46L, 
          TRUE
      )))
  
      cat(sprintf("TEST-9...%s\n",driver(
          50L, 
          TRUE
      )))
  
  }
  
  main()
source_py: def check_whether_given_number_even_odd_1(n):
      return (not (n & 1))
source_cpp: bool check_whether_given_number_even_odd_1(int n) {
    return ( ! ( n & 1 ) );
  }