title: Check Whether Given Number Even Odd
signature: pub fn check_whether_given_number_even_odd(n: i32) -> bool {
test_code: use std::collections::HashMap;
  use std::collections::HashSet;
  use std::cmp::*;
  use std::collections::*;
  use std::fmt::*; 
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  pub fn validate_solution(actual: bool, expected: bool)->bool{
  return actual==expected
  }
  pub fn driver(n: i32, expected: bool)->String{
      if validate_solution(PLACEHOLDER_FN_NAME(n), expected) {
        return "PASSED".to_string();
      };
      return "FAILED".to_string();
  
  }
  
  fn main() {
      println!("TEST-0...{}", driver(
        67, 
        false
      ));
      
      println!("TEST-1...{}", driver(
        90, 
        true
      ));
      
      println!("TEST-2...{}", driver(
        55, 
        false
      ));
      
      println!("TEST-3...{}", driver(
        90, 
        true
      ));
      
      println!("TEST-4...{}", driver(
        83, 
        false
      ));
      
      println!("TEST-5...{}", driver(
        32, 
        true
      ));
      
      println!("TEST-6...{}", driver(
        58, 
        true
      ));
      
      println!("TEST-7...{}", driver(
        38, 
        true
      ));
      
      println!("TEST-8...{}", driver(
        87, 
        false
      ));
      
      println!("TEST-9...{}", driver(
        87, 
        false
      ));
      
  }
source_py: def check_whether_given_number_even_odd(n):
      return ((n % 2) == 0)
source_cpp: bool check_whether_given_number_even_odd(int n) {
    return ( n % 2 == 0 );
  }