title: Find Perimeter Cylinder
signature: function findPerimeterCylinder(diameter: number, height: number): number {
test_code: 
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  function convertToString(value: any): string{
      return JSON.stringify(value, function (key, val) {
          if (val instanceof Set) {
              return Array.from(val);
          } return val;});
  }
  
  function validateSolution(actual: number, expected: number): boolean {
      return convertToString(actual) === convertToString(expected);
  }
  
  function driver(diameter: number, height: number, expected:number): string {
      try{
          if (validateSolution(PLACEHOLDER_FN_NAME(diameter, height),expected)){
              return "PASSED";
          }
          return "FAILED";
      } catch (error) {
        return error.name;
      }
      
  }
      
  function main(){
    let result = '';
    result = driver(70, 78, 296);
    console.log(`TEST-0...${result}`);
  
    result = driver(97, 46, 286);
    console.log(`TEST-1...${result}`);
  
    result = driver(49, 26, 150);
    console.log(`TEST-2...${result}`);
  
    result = driver(56, 61, 234);
    console.log(`TEST-3...${result}`);
  
    result = driver(87, 79, 332);
    console.log(`TEST-4...${result}`);
  
    result = driver(64, 21, 170);
    console.log(`TEST-5...${result}`);
  
    result = driver(75, 93, 336);
    console.log(`TEST-6...${result}`);
  
    result = driver(90, 16, 212);
    console.log(`TEST-7...${result}`);
  
    result = driver(55, 16, 142);
    console.log(`TEST-8...${result}`);
  
    result = driver(73, 29, 204);
    console.log(`TEST-9...${result}`);
  
  };
  
  main();
source_py: def find_perimeter_cylinder(diameter, height):
      return (2 * (diameter + height))
source_cpp: int find_perimeter_cylinder(int diameter, int height) {
    return 2 * ( diameter + height );
  }