13
Mon Mar 04 2024 00:34:17 GMT+0000 (Coordinated Universal Time)
Saved by
@codewarrior
<?php
$temperature = 25;
if ($temperature > 30) {
echo "It's hot outside!";
} elseif ($temperature >= 20 && $temperature <= 30) {
echo "The weather is pleasant.";
} else {
echo "It's cold outside.";
}
?>
content_copyCOPY
Comments