Computer Science, asked by shashikant92, 9 months ago

write a program to print area of circle in php language​

Answers

Answered by Anonymous
2

Answer:

Here is a program for printing area of circle in php language. For this, I have taken radius as "2"

Explanation:

<?php

$radius = 2.0;

$pi = 3.14159;

$area = $pi * $radius * $radius;

echo("radius = ");

echo($radius);

echo("<BR>area = ");

echo($area);

?>

Similar questions