SyntaxFix
Write A Post
Hire A Developer
Questions
I don't know your test conditions, but a good old switch could work
switch
switch(colour) { case red: { switch(car) { case hyundai: { break; } : } break; } : }