PHP if else2

Write a program to show the use of if else statement in PHP.

Output :