title: How To Turn Off A Particular Bit In A Number
signature: howToTurnOffAParticularBitInANumber(n, k) {
test_code: import 'dart:convert';
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  bool validateSolution(int actual, int expected){
      return actual.toString() == expected.toString();
  }
  
  String driver(n, k, int expected){
      try
      {
          if (validateSolution(PLACEHOLDER_FN_NAME(n, k), expected)){
              return "PASSED";
          }
          return "FAILED";
      }catch(exception_object){
          return exception_object.runtimeType.toString();
      }
  }
  
  int main() {
  
      print("TEST-0...${driver(
          49, 15, 
          49)
      }");
  
      print("TEST-1...${driver(
          59, 69, 
          59)
      }");
  
      print("TEST-2...${driver(
          76, 20, 
          76)
      }");
  
      print("TEST-3...${driver(
          27, 76, 
          27)
      }");
  
      print("TEST-4...${driver(
          61, 60, 
          61)
      }");
  
      print("TEST-5...${driver(
          67, 27, 
          67)
      }");
  
      print("TEST-6...${driver(
          63, 71, 
          63)
      }");
  
      print("TEST-7...${driver(
          85, 25, 
          85)
      }");
  
      print("TEST-8...${driver(
          90, 64, 
          90)
      }");
  
      print("TEST-9...${driver(
          24, 55, 
          24)
      }");
  
      return 0;
  }
source_py: def how_to_turn_off_a_particular_bit_in_a_number(n, k):
      if (k <= 0):
          return n
      return (n & (~ (1 << (k - 1))))
source_cpp: int how_to_turn_off_a_particular_bit_in_a_number(int n, int k) {
    if ( k <= 0 ) return n;
    return ( n & ~ ( 1 << ( k - 1 ) ) );
  }