title: Count Characters Position English Alphabets
signature: def countCharactersPositionEnglishAlphabets(str: String) = {
test_code: import scala.collection.mutable.HashMap
  import scala.collection.immutable.HashSet
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  
  // TESTING CODE 
  // ============================================
  def validateSolution(actual: Int , expected: Int): Boolean = {
      actual.toString == expected.toString
  }
  
  def driver(str: String, expected: Int): String = {
      try {
          if (validateSolution(PLACEHOLDER_FN_NAME(str),expected)) {
              "PASSED"
          } else{
              "FAILED"
          }
      }catch{
          case e: Exception => {e.getClass.getName}
      }
  
  }
  object QuestionEvaluator extends App {
  
      println(s"TEST-0...${driver(
        "lLkhFeZGcb", 
        0    
      )}")   
  
  
      println(s"TEST-1...${driver(
        "ABcED", 
        3    
      )}")   
  
  
      println(s"TEST-2...${driver(
        "geeksforgeeks", 
        1    
      )}")   
  
  
      println(s"TEST-3...${driver(
        "Alphabetical", 
        3    
      )}")   
  
  
      println(s"TEST-4...${driver(
        "abababab", 
        2    
      )}")   
  
  
      println(s"TEST-5...${driver(
        "bcdefgxyz", 
        0    
      )}")   
  
  
      println(s"TEST-6...${driver(
        "cBzaqx L", 
        1    
      )}")   
  
  
      println(s"TEST-7...${driver(
        " bcd", 
        3    
      )}")   
  
  
      println(s"TEST-8...${driver(
        "11", 
        0    
      )}")   
  
  
      println(s"TEST-9...${driver(
        "MqqKY", 
        0    
      )}")   
  
  }
  
source_py: def count_characters_position_english_alphabets(str):
      result = 0
      for i in range(len(str)):
          if ((i == (ord(str[i]) - ord('a'))) or (i == (ord(str[i]) - ord('A')))):
              result += 1
      return result
source_cpp: int count_characters_position_english_alphabets(string str) {
    int result = 0;
    for ( int i = 0;
    i < str . size ( );
    i ++ ) if ( i == ( str [ i ] - 'a' ) || i == ( str [ i ] - 'A' ) ) result ++;
    return result;
  }