$operation = "+"; $a = 66; $b = 13; switch ($operation) { default : $c = 0; case "+": $c = $a + $b; case "-": $c = $a - $b; } echo $c;
Login in to like
Login in to comment
why?
2018 Jul 10, 5:15:44 AM
or Read more about PHP Quizzes
Login in to like
Login in to comment