Problem Statement:

Create a PHP script which contains a constant named PI with value 3.142. Find the area and circumference of a circle using the constant PI.

Source Code:

ex3.php

Output:

Click here for output