Starter Tutorials

A tutorial site for beginners!

Starter tutorials contains well written tutorials on various technologies. Simple examples have been provided through out the tutorials to help the beginners understand them in a easy way.

Go to Blog »

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