69. Enum with Switch Dispatch

 We have already declared an enum class Command with values: Start, Stop, Reset.
 We have also provided a function execute(Command c) that prints:

  • "STARTING..." for Start
  • "STOPPING..." for Stop
  • "RESETTING..." for Reset
     

Your task is to implement the logic that reads the string input ("Start", "Stop", "Reset") and assigns the correct Command enum value before calling execute().

Example
 Input:

Start

Output:

STARTING...

 

Input:

Reset

Output:

RESETTING...

 

Loading...

Input

Start

Expected Output

STARTING...