title: Area Of The Circle That Has A Square And A Circle Inscribed In It
signature: pub fn area_of_the_circle_that_has_a_square_and_a_circle_inscribed_in_it(a: i32) -> f64 {
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: f64, expected: f64)->bool{
  return (actual - expected).abs() < 1e-09
  }
  pub fn driver(a: i32, expected: f64)->String{
      if validate_solution(PLACEHOLDER_FN_NAME(a), expected) {
        return "PASSED".to_string();
      };
      return "FAILED".to_string();
  
  }
  
  fn main() {
      println!("TEST-0...{}", driver(
        77, 
        4656.625710783471
      ));
      
      println!("TEST-1...{}", driver(
        18, 
        254.46900494077323
      ));
      
      println!("TEST-2...{}", driver(
        83, 
        5410.607947645021
      ));
      
      println!("TEST-3...{}", driver(
        39, 
        1194.5906065275187
      ));
      
      println!("TEST-4...{}", driver(
        68, 
        3631.6811075498013
      ));
      
      println!("TEST-5...{}", driver(
        28, 
        615.7521601035994
      ));
      
      println!("TEST-6...{}", driver(
        71, 
        3959.192141686537
      ));
      
      println!("TEST-7...{}", driver(
        14, 
        153.93804002589985
      ));
      
      println!("TEST-8...{}", driver(
        21, 
        346.36059005827474
      ));
      
      println!("TEST-9...{}", driver(
        73, 
        4185.386812745001
      ));
      
  }
source_py: def area_of_the_circle_that_has_a_square_and_a_circle_inscribed_in_it(a):
      area = (((math.pi * a) * a) / 4)
      return area
source_cpp: float area_of_the_circle_that_has_a_square_and_a_circle_inscribed_in_it(int a) {
    float area = ( M_PI * a * a ) / 4.0;
    return area;
  }