title: Program To Find Remainder Without Using Modulo Or Operator
signature: def programToFindRemainderWithoutUsingModuloOrOperator(num: Int, divisor: Int) = {
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(num: Int, divisor: Int, expected: Int): String = {
      try {
          if (validateSolution(PLACEHOLDER_FN_NAME(num, divisor),expected)) {
              "PASSED"
          } else{
              "FAILED"
          }
      }catch{
          case e: Exception => {e.getClass.getName}
      }
  
  }
  object QuestionEvaluator extends App {
  
      println(s"TEST-0...${driver(
        80, 54, 
        26    
      )}")   
  
  
      println(s"TEST-1...${driver(
        63, 21, 
        0    
      )}")   
  
  
      println(s"TEST-2...${driver(
        1, 56, 
        1    
      )}")   
  
  
      println(s"TEST-3...${driver(
        22, 39, 
        22    
      )}")   
  
  
      println(s"TEST-4...${driver(
        66, 7, 
        3    
      )}")   
  
  
      println(s"TEST-5...${driver(
        61, 67, 
        61    
      )}")   
  
  
      println(s"TEST-6...${driver(
        45, 63, 
        45    
      )}")   
  
  
      println(s"TEST-7...${driver(
        29, 44, 
        29    
      )}")   
  
  
      println(s"TEST-8...${driver(
        95, 65, 
        30    
      )}")   
  
  
      println(s"TEST-9...${driver(
        9, 68, 
        9    
      )}")   
  
  }
  
source_py: def program_to_find_remainder_without_using_modulo_or_operator(num, divisor):
      return (num - (divisor * (num // divisor)))
source_cpp: int program_to_find_remainder_without_using_modulo_or_operator(int num, int divisor) {
    return ( num - divisor * ( num / divisor ) );
  }