title: Program Area Square
signature: func programAreaSquare(side int) int {
test_code: package main
  
  import (
      "fmt"
      "reflect"
      "math"
      "sort"
  )
  
  // SOLUTION CODE
  // ===================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE
  // ===================================
  func validateSolution(actual int, expected int) bool {
      return reflect.DeepEqual(actual,expected)
  }
  
  func driver(side int, expected int) string {
      if validateSolution(PLACEHOLDER_FN_NAME(side),expected) {
              return "PASSED"
      }
      return "FAILED"
  
  }
  
  func main() {
  
      // Use imports to avoid undefined errors
      var _ = reflect.DeepEqual
      _ = math.Abs
      _ = sort.Sort
      result := ""
      result = driver(50, 2500)
      fmt.Printf("TEST-0...%s\n", result)
      
      result = driver(64, 4096)
      fmt.Printf("TEST-1...%s\n", result)
      
      result = driver(92, 8464)
      fmt.Printf("TEST-2...%s\n", result)
      
      result = driver(23, 529)
      fmt.Printf("TEST-3...%s\n", result)
      
      result = driver(38, 1444)
      fmt.Printf("TEST-4...%s\n", result)
      
      result = driver(55, 3025)
      fmt.Printf("TEST-5...%s\n", result)
      
      result = driver(67, 4489)
      fmt.Printf("TEST-6...%s\n", result)
      
      result = driver(56, 3136)
      fmt.Printf("TEST-7...%s\n", result)
      
      result = driver(60, 3600)
      fmt.Printf("TEST-8...%s\n", result)
      
      result = driver(90, 8100)
      fmt.Printf("TEST-9...%s\n", result)
      
          
  }
source_py: def program_area_square(side):
      area = (side * side)
      return area
source_cpp: int program_area_square(int side) {
    int area = side * side;
    return area;
  }