哪一个语言结构最能代表以下多路分支if语句的选择结构。 <?php if ( $a == "a" ) { somefunction ; } else if ( $a == "b" ) { anotherfunction; } else if ( $a == "c" ) { dosomething; } else { donothing; } ?>
哪一个语言结构最能代表以下多路分支if语句的选择结构。 <?php if ( $a == "a" ) { somefunction ; } else if ( $a == "b" ) { anotherfunction; } else if ( $a == "c" ) { dosomething; } else { donothing; } ?>
1