title: Efficient Way Check Whether N Th Fibonacci Number Multiple 10
signature: efficient_way_check_whether_n_th_fibonacci_number_multiple_10 <- 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(
          30L, 
          TRUE
      )))
  
      cat(sprintf("TEST-1...%s\n",driver(
          -30L, 
          TRUE
      )))
  
      cat(sprintf("TEST-2...%s\n",driver(
          60L, 
          TRUE
      )))
  
      cat(sprintf("TEST-3...%s\n",driver(
          90L, 
          TRUE
      )))
  
      cat(sprintf("TEST-4...%s\n",driver(
          99L, 
          FALSE
      )))
  
      cat(sprintf("TEST-5...%s\n",driver(
          32L, 
          FALSE
      )))
  
      cat(sprintf("TEST-6...%s\n",driver(
          21L, 
          FALSE
      )))
  
      cat(sprintf("TEST-7...%s\n",driver(
          65L, 
          FALSE
      )))
  
      cat(sprintf("TEST-8...%s\n",driver(
          21L, 
          FALSE
      )))
  
      cat(sprintf("TEST-9...%s\n",driver(
          99L, 
          FALSE
      )))
  
  }
  
  main()
source_py: def efficient_way_check_whether_n_th_fibonacci_number_multiple_10(n):
      return ((n % 15) == 0)
source_cpp: bool efficient_way_check_whether_n_th_fibonacci_number_multiple_10(int n) {
    return ( n % 15 == 0 );
  }