PHP - Conditional Statements
Identify the problem in this PHP code:
<?php
$value = 15;
if ($value > 20) {
echo "High";
} elseif ($value > 10)
echo "Medium";
else {
echo "Low";
}Identify the problem in this PHP code:
<?php
$value = 15;
if ($value > 20) {
echo "High";
} elseif ($value > 10)
echo "Medium";
else {
echo "Low";
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions