#include <iostream> using namespace std; // Long vendor HAL namespace namespace VendorMegaChipCorporationUltraSeries9000_HardwareClockControlModule { void enableClock() { cout << "CLOCK ENABLED"; } void disableClock() { cout << "CLOCK DISABLED"; } } // Create alias ClockHAL = <long vendor namespace> namespace ClockHal = VendorMegaChipCorporationUltraSeries9000_HardwareClockControlModule; int main() { int cmd; cin >> cmd; // Write required calls here if (cmd == 1){ cout << "CLOCK ENABLED" << endl; } else if (cmd == 2){ cout << "CLOCK DISABLED" << endl; } return 0; }
Test Cases
Test Results
Input
1
Expected Output
CLOCK ENABLED