以下哪个程序可以输出apple#banana#orange#
以下哪个程序可以输出apple#banana#orange#
$fruit=qw{apple bananaorange};foreach $fruit(@fruit){print “$fruit#”;}
@fruit=qw{apple banana orange};foreach$fruit(@fruit){print “$fruit#”;}
$fruit=q{apple banana orange};foreach$fruit(@fruit){print “$fruit#”;}
@fruit=qq{apple banana orange};foreach$fruit(@fruit){print “$fruit#”;}
这道题你会答吗?花几分钟告诉大家答案吧!