Switch statements check one value against many options. It's cleaner than many if/else blocks.
switch(status)
message
canCancel
Submit your code to see test results