条件分岐3
#11 さらに条件分岐をしてみよう
e strict; use warnings; my $score = 30; if ($score >= 80){ print("OK!"); }elsif($score >= 40){ print ("not ok..."); }else{ print("tanaka the test again!"); }
tanaka the test again!
と表示されることを 確認
e strict; use warnings; my $score = 30; if ($score >= 80){ print("OK!"); }elsif($score >= 40){ print ("not ok..."); }else{ print("tanaka the test again!"); }
tanaka the test again!
と表示されることを 確認