Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 516 Bytes

0352.md

File metadata and controls

29 lines (25 loc) · 516 Bytes

What is the output of the following script?

$number = 25;
if ($number <= 25) {
    echo "lte";
} else if ($number == 25) {
    echo "e";
} else if ($number >= 25) {
    echo "gte";
} else {
    echo "o";
}

Enter the exact script output

  • A) lte
  • B) ltegteo
  • C) gte
  • D) o
Answer

Answer: A