title: Find Perimeter Cylinder
signature: fun findPerimeterCylinder(diameter: Int, height: Int): Int {
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 );
  }
question_info.test_list: [{"idx": 0, "outputs": 296, "inputs": {"diameter": 70, "height": 78}}, {"idx": 1, "outputs": 286, "inputs": {"diameter": 97, "height": 46}}, {"idx": 2, "outputs": 150, "inputs": {"diameter": 49, "height": 26}}, {"idx": 3, "outputs": 234, "inputs": {"diameter": 56, "height": 61}}, {"idx": 4, "outputs": 332, "inputs": {"diameter": 87, "height": 79}}, {"idx": 5, "outputs": 170, "inputs": {"diameter": 64, "height": 21}}, {"idx": 6, "outputs": 336, "inputs": {"diameter": 75, "height": 93}}, {"idx": 7, "outputs": 212, "inputs": {"diameter": 90, "height": 16}}, {"idx": 8, "outputs": 142, "inputs": {"diameter": 55, "height": 16}}, {"idx": 9, "outputs": 204, "inputs": {"diameter": 73, "height": 29}}]
question_info.extension: kts
question_info.test_code: package main
  
  import kotlin.text.*
  import kotlin.math.*
  
  
  // SOLUTION CODE
  // ===================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE
  // ===================================
  fun validateSolution(actual:Int, expected:Int):Boolean{
    return actual.equals(expected)
  }
  fun driver(diameter: Int, height: Int, expected:Int):String {
      try{
        if (validateSolution(PLACEHOLDER_FN_NAME(diameter, height), expected)) {
                return "PASSED"
        }
        return "FAILED"
      } catch (e: Exception){
        return e::class.simpleName as String
      }
  
  }
  
  fun main() {
      var result: String = ""
      result = driver(70, 78, 296)
      println("TEST-0...${result}")
      
      result = driver(97, 46, 286)
      println("TEST-1...${result}")
      
      result = driver(49, 26, 150)
      println("TEST-2...${result}")
      
      result = driver(56, 61, 234)
      println("TEST-3...${result}")
      
      result = driver(87, 79, 332)
      println("TEST-4...${result}")
      
      result = driver(64, 21, 170)
      println("TEST-5...${result}")
      
      result = driver(75, 93, 336)
      println("TEST-6...${result}")
      
      result = driver(90, 16, 212)
      println("TEST-7...${result}")
      
      result = driver(55, 16, 142)
      println("TEST-8...${result}")
      
      result = driver(73, 29, 204)
      println("TEST-9...${result}")
      
          
  }
  
  main()
question_info.entry_fn_name: findPerimeterCylinder
question_info.entry_cls_name: Solution
question_info.test_case_ids: 0 1 2 3 4 5 6 7 8 9
question_info.commands: kotlinc -script __FILENAME__ -no-reflect -nowarn