## Write PHP Program to convert a character from upper to lower and lower to upper case

<!-- Write a programme to convert upper case letter to lower case and lower case to upper-->

<html>
<body>
<?php

$n1 = 'c';$upper = strtoupper($n1); echo "The Upper case of ".$n1." : ".$upper;$n2 = 'Z';
$lower = strtolower($n2);
echo "<br>The Lower case of  ".$n2.": ".$lower;
?>
</body>
</html>

Output:

The Upper case of c : C
The Lower case of Z : z

≪ Previous | Next ≫