# PHP Program To Compute Square And Cube Of Number

## Write C Program to Find Square and Cube of Given Number

<!-- Write a programme to find square and cube of given number -->

<html>

<body>
<?php

$n = 3;$square = $n*$n;
$cube =$n*$n*$n;

echo "The Square of " .$n. " : ".$square;
echo "<br>The Cube of " .$n. " : ".$cube;

?>
</body>
</html>

Output:

The Square of 3 : 9
The Cube of 3 : 27